Please Help: PHP and Apache Installation
| From: | WX | Date: | Mon, 21 Jul 2003 21:31:23 +0000 |
| Subject: | Please Help: PHP and Apache Installation | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-11320@lists.php.net to get a copy of this message | ||
I have php version 5.0.0b1 installed and apache 2.046. I also have mySQL 4
4.013 installed on a windows XP home Computer.
MySQL works, PHP works and Apache works when the following lines are not
added to the httpd.con
LoadModule php4_module "C:/Program Files/Apache
Group/Apache2/PHP/sapi/php4apache2.dll"
AddType application/x-httpd-php .php
I changed the path to use \ but the result is the same:
1. When I restart apache from apavhe monitor the error message is " The
requested operation has failed"
when I start apache from comand line: C:\Program Files\Apache
Group\Apache2\bin>apache
"Syntax error on line 988 of C:/Program Files/Apache
Group/Apache2/conf/httpd.conf:
Can't locate API module structure `php4_module' in file C:/Program
Files/Apache Group/Apache2/PHP/sapi/php4apache2.dll: No error "
I had installed PHP in C:\PHP originally with same result. I have tried with
various versions of PHP and apache and the results have been the same.
To confirm the PHP is ok I run php -i at command prompt and usually get the
long stream of html codes.
Is there something I'm not doing correctly? Please help