Offtopic - PHP4 Install on Win32/Apache
Posted: Fri Jan 11, 2002 2:28 pm
Hi.. this is offtopic, but I am interested in setting up php4 so i can create some forums for my website. I am running Windows 2000 and Apache 2.x.
I want to load it as a Module. In the installation instructions, it says to add these two lines to my httpd.conf file:
LoadModule php4_module d:/progra~1/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml
However, when i add those lines, I get this message when I run 'Test Configuration':
Syntax error on line 139 of D:/Program Files/Apache Group/Apache2/conf/httpd.conf:
LoadModule takes two arguments, a module name and the name of a shared object file to load it from
That line refers to the LoadModule php4_module...... line above, not the AddType... line.
I've tried using both Program Files and progra~1 so that truncated paths isn't a problem.. and i've tried both forward and backslashes.. still comes up with the error. Any ideas? There isn't a manual for setting php4 up with version 2.x of apache.. only 1.3.x
-Kefka
I want to load it as a Module. In the installation instructions, it says to add these two lines to my httpd.conf file:
LoadModule php4_module d:/progra~1/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .phtml
However, when i add those lines, I get this message when I run 'Test Configuration':
Syntax error on line 139 of D:/Program Files/Apache Group/Apache2/conf/httpd.conf:
LoadModule takes two arguments, a module name and the name of a shared object file to load it from
That line refers to the LoadModule php4_module...... line above, not the AddType... line.
I've tried using both Program Files and progra~1 so that truncated paths isn't a problem.. and i've tried both forward and backslashes.. still comes up with the error. Any ideas? There isn't a manual for setting php4 up with version 2.x of apache.. only 1.3.x
-Kefka