PHP isn't an installed program. If you used an MSI it probably just created registry entries.
These versions aren't really compatible; the 2.2x version of apache is designed for use with VC6 builds of PHP, not VC9s. Since 5.3.2x+ doesn't appear to have a VC6 version, you'd either need to manually compile it, or use a different version of apache. In fact, I just installed a new version on my system as well, and was sad to discover that the new versions of missing dlls even though it specifies that the apache build is compatible with these versions.
Download these:
PHP:
http://windows.php.net/downloads/rel...32-VC9-x86.zip (or choose the 5.4 version if you want)
Apache:
http://www.apachelounge.com/download....4.2-win32.zip
php5apache2_4.dll:
http://www.apachelounge.com/download...-5.4-win32.zip
- Extract Apache to a directory of your choice. I installed to D:\Server\Apache.
- Configure {apache}\conf\httpd.conf. Specify your workspace directory and configure the necessary directory commands
- Install the services. I like to separate my PHP installs so I can easily swap different modules. I do so by calling command
httpd -D PHP_5_4_0 -n "Apache with PHP 5.4.0" -k install. This will create the service.
- Extract PHP. I placed mine in D:\Server\PHP\PHP-5.4.0
- Modify httpd.conf. Since I added a defined name, I modified as follows
Quote:
<IfDefine PHP_5_4_0>
LoadModule php5_module D:/Server/PHP/PHP-5.4.0/php5apache2_4.dll
</IfDefine>
|
- Save.
- Extract the dll download to the PHP install directory.
- Start services.
- Win.
MySQL is distinct, and has no relationship to apache or PHP. I can give better install details when I get home.