Click to See Complete Forum and Search --> : win98 Apache install w/PHP4


Anon
06-14-2001, 10:24 AM
I'm new at the web server thing, so please bear with me. I installed Apache (1.3.12win32.exe) with PHP4. I've been reading instruction from a variety of sites and there are discrepancies about what to change in the httpd.conf file. The error I'm getting when I attempt to start apache is:
syntax error on line 182 of c:/apache/conf/httpd.conf:
cannot load c:/apache/modules/mod_php4/sapi/php4apache.dll
The line referenced in httpd.conf is: LoadModule php4_module modules/mod_php4/sapi/php4apache.dll
The dll file is available in the path referenced. Any help would be greatly appreciated.
Thanks,
Dana

ame12
06-14-2001, 02:44 PM
If you're not wed to Apache, try this tiny and very friendly Win32 PHP server:

http://badblue.com/helpphp.htm

Extremely easy to configure.

Dave

mithril
06-14-2001, 11:15 PM
Dana,

Is the file php4ts.dll in either the same directory as php4apache.dll, or a directory in your %PATH%? If not, this is probably the cause of your troubles. Drop a drop of php4ts.dll into that directory (or c:/windows/system) and it should work. I remember trying to setup PHP as a module on Win32 Apache 1.3.12...... it was such a pain in the arse that I gave up until the release of 1.3.14 so good luck:) Seems to like me much better then. You might also consider grabbing the latest Apache release 1.3.20. Among other things it will run as a service on 98 as well as NT and Win2K so you don't see that annoying little DOS console in your toolbar. HTH,


Cheers,

Geoff A. Virgo