The requested operation has failed

Source: Internet
Author: User
Tags apache windows windows 5
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.

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.