I've installed Apache2 on port 81 since IIS7 uses port 80. It loads fine and show me the directory when I load it through the browser but after installing PHP5 with msi installer Apache fails to restart because of an error in httpd.conf it says it can't load the php5apache2_2.dll I get this error after doing a repair on Apache httpd.conf
#BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
PHPIniDir "C:\Webserver\php\"
LoadModule php5_module "C:\Webserver\php\php5apache2_2.dll"
#END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL
Here is what the error is.
cmd line error: Syntax error on line 970 of C:/Webserver/apache/Apache2/conf/httpd.conf":
Cannot load C:/Webserver/php/php5apache2_2.dll into server
%1 is not a valid Win32 application
I had the same issue. I googled and found a 64bit version of the PHP binary for Windows here:
http://www.anindya.com/php-5-3-2-x64-64-bit-windows-binary/
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With