Configuring Apache and PHP
If you add a httpd.conf in Apache configuration file
LoadModule php5_module "C:/php/php5apache2_2.dll"
AddType application/x-httpd-php. php
Phpinidir "c:/php"
After starting Apache will appear the requested operation has failed, if you remove the three lines will be able to start normally, why?
Seek expert solution!!!
Reply to discussion (solution)
The problem is c:/php/php5apache2_2.dll.
Open the Apache directory under the Logs/error.log file, there will be detailed instructions, posted out, or direct Google
If it is for Apache 1 or Apache 2 then choose PHP 5.3 VC6 or PHP 5.2 VC6.
"Verbose error": Apache is running a threaded MPM, but your PHP module isn't compiled to be threadsafe. You need to recompile PHP. Pre-configuration failed.
"Cause": The Service Manager was replaced by IIS to Apache, the original PHP version is wireless path Security (NTS), so you need to replace PHP with a thread-safe version (TS).
Please select PHP version vc6-ts (VC6, thread safe)
See download list: http://windows.php.net/downloads/releases/archives/
This is the last version of the official Apache Windows 5.3.5:http://windows.php.net/downloads/releases/archives/php-5.3.5-win32-vc6-x86.zip
After download, unzip to c:/php without installation.