Stuck at PHP4 installation( with Apache2 )
| From: | kramer | Date: | Fri, 04 Oct 2002 05:59:39 +0000 |
| Subject: | Stuck at PHP4 installation( with Apache2 ) | ||
| Groups: | php.general php.install | ||
| Request: | Send a blank email to php-general+get-118808@lists.php.net to get a copy of this message | ||
hi,
I've Apache 2 running fine in my Windows 2000 machine. I installed PHP
4.2.3( from the zip-file method ).
I copied php4apache.dll and php4apache2.dll to /WINNT/system32 and /WINNT as
well( to be safe ).
In my httpd.conf, either of the following startments are causing the Apache
to not start...
LoadModule php4_module F:/Progra~1/php-4.2.3-Win32/sapi/php4apache2.dll
LoadModule php4_module "D:/WINNT/system32/php4apache2.dll"
I tried to give "F:/Program Files/php-4.2.3-Win32/sapi/php4apache2.dll" and
all possible combinations of quotes, spaces, names, but it doesn't start if
I include any of those combinations. Otherwise it works !
Besides the above mentioned problematic line, these are the other entries(
in diff. lines ofcourse ) I've in my httpd.conf...
-> DirectoryIndex index.html index.html.var index.htm index.shtml index.php
index.php3 index.php4
-> ScriptAlias /php/ "F:/Program Files/php-4.2.3-Win32/"
-> AddType application/x-httpd-php .php .php3 .php4 .phtml
-> AddType application/x-httpd-php-source .phps
-> Action application/x-httpd-php "F:/Program Files/php-4.2.3-Win32/php.exe"
I'm new PHP & Apache2. Can someone help me to make this work. Thanks a lot.
kramer.