I've been trying all day to configure PHP with Apache and it's been a nightmare I've tried every suggestion that is out there, including PHP's official manuals, and it's been nothing, but a failure. Hoping someone can help here:
-Running Win2k SP4
-Installed and ran Apache HTTP Server both versions 2.058 & 2.2.2 seprately, they run fine
-Installed PHP 5.1.4 and the fun begins here
I understand PHP 5.1.4 doesn't work with Apache 2.2.2, so I used it with 2.058, same problem.
As per manual by php.net, I added the following to httpd config file:
ScriptAlias /php/ "c:/php/"
AddType application/x-httpd-php .php
Action application/x-httpd-php "/php/php.exe"
Action application/x-httpd-php "/php/php-cgi.exe"
Restared the server, created a file, test.php in htdocs directory where the server is installed, Internet Explorer tells me which program should open the test.php file. Other times I get "page can't be displayed". I have the same problem with both Apache 2.2.2 and 2.058.
I've tried installing PHP both manually and using windows installer, there is something terrible wrong and I can't figure it.
So all in one: Is there any way that PHP 5.1.4 works with Apache? Now, I am forcd to install XAMPP just for testing (which is not secure by the way).
Thanks for your help.
And just now, I got a message from XAMPP told me that mqssl.php couldn't be written as it was installing.
there must be a ghost on my system!