Evilwalrus PHP Installation Article
Posted: Sun May 19, 2002 9:19 pm
First off..... this article is the most amazing and simple article that I have found on the net for installing PHP server. My hat goes off to Andrew for this.
However........ I have a small problem with the last step and would appreciate some help
I have installed MySQL and Apache server fine. Apache ran fine until I tried installing PHP, and now Apache does not want to start either.
btw/ I am running Windows XP Pro (for the sake of reference)
Apache is installed in dir c:/Apache
PHP is installed in dir c:/Apache/PHP (just like in the tutorial)
I have placed php4ts into c:\windows\system32 (btw it's name was not php4ts.dll but php4ts --> for some reason windows sees it as a LIB file)
Also, php.ini-dist was renamed to php.ini and placed in c:\windows\
httpd.conf file was configured as follows.....
(stuff inserted below LoadModule list)
LoadModule php4_module c:/apache/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
(stuff inserted below AddModule list)
AddModule mod_php4.c
Also -> DirectoryIndex was made into index.php
Here is the error that I receive when I run the Apache Server:
"Syntax error on line 193 of c:/apache/apache/conf/httpd.conf:
Cannot load c:/apache/php/sapi/php4apache.dll into server: (126) The specified module could not be found:"
So if anyone know how to fix this, or if anyone has had this problem with Windows XP, please help.......
However........ I have a small problem with the last step and would appreciate some help
I have installed MySQL and Apache server fine. Apache ran fine until I tried installing PHP, and now Apache does not want to start either.
btw/ I am running Windows XP Pro (for the sake of reference)
Apache is installed in dir c:/Apache
PHP is installed in dir c:/Apache/PHP (just like in the tutorial)
I have placed php4ts into c:\windows\system32 (btw it's name was not php4ts.dll but php4ts --> for some reason windows sees it as a LIB file)
Also, php.ini-dist was renamed to php.ini and placed in c:\windows\
httpd.conf file was configured as follows.....
(stuff inserted below LoadModule list)
LoadModule php4_module c:/apache/php/sapi/php4apache.dll
AddType application/x-httpd-php .php .php3
AddType application/x-httpd-php-source .phps
(stuff inserted below AddModule list)
AddModule mod_php4.c
Also -> DirectoryIndex was made into index.php
Here is the error that I receive when I run the Apache Server:
"Syntax error on line 193 of c:/apache/apache/conf/httpd.conf:
Cannot load c:/apache/php/sapi/php4apache.dll into server: (126) The specified module could not be found:"
So if anyone know how to fix this, or if anyone has had this problem with Windows XP, please help.......