Page 1 of 1

install issues

Posted: Mon Jun 23, 2003 11:21 pm
by Sevengraff
Okay, I just went on a download spree and got apache 1.3.27, PHP 4.3.2, and MySQL 4.0.13. I'm running Windows 2000 and got Apache & MySQL to install without problem. I followd the install.txt file to get php to work, but im getting this error when trying to start apache:

Code: Select all

Syntax error on line 1023 of c:/program files/apache group/apache/conf/httpd.con
f:
LoadModule takes two arguments, a module name and the name of a shared object fi
le to load it from
Note the errors or messages above, and press the <ESC> key to exit.  24...
Here is what I added to httpd.conf:

Code: Select all

LoadModule php4_module c:/program files/php/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
The first line there is 1023. I do have php4ts.dll in the same folder as php4apache.dll

Any ideas how I can make this work?

Posted: Tue Jun 24, 2003 3:55 am
by twigletmac
Could it be having problems with the fact that 'program files' is two words? Try putting the path in quotes:

Code: Select all

LoadModule php4_module 'c:/program files/php/php4apache.dll'
Mac

Posted: Tue Jun 24, 2003 4:44 pm
by Sevengraff
Perfect, thanks a million!