Apache Boot Error The requested operation has failed

Source: Internet
Author: User
apachethe php php.ini httpd.conf

Integrated Apache2.2 and PHP (PHP 5.4 (5.4.25) VC9 x86 Thread Safe (2014-feb-05 23:44:37))

Apache configuration httpd.conf file is configured as follows

#我配置的信息 Apache loading PHP processing module
LoadModule php5_module "D:/program files/php-5.5.9/php5apache2_4.dll"
#用于指定php的 INI file, which is some configuration of PHP
Phpinidir "D:/program files/php-5.5.9"
#这个配置表示 when there is a resource that is *.php, there is PHP processing
AddType application/x-httpd-php. php. html. htm

Configuration in php.ini of PHP configuration Corpus

Extension_dir = "D:/program files/php-5.5.9/ext"

But start on the error, do not know what the above configuration problems, I hope to have to know the guidance of the point.

I use the httpd-t command times

Httpd:syntax error on the line 131 of D:/program Files/php-5.5.9/php5apache2_4.dll:

Cannot load D:/program files/php-5.5.9/php5apache2_4.dll into server:

What does it mean to not load here?? The path is not wrong!




Reply to discussion (solution)

LoadModule php5_module "D:/program files/php-5.5.9/php5apache2_ 2.dll"

Apache2.2 will use Php5apache2_2.dll.
Apache2.4 only used Php5apache2_4.dll.

LoadModule php5_module "D:/program files/php-5.5.9/php5apache2_ 2.dll"

Apache2.2 will use Php5apache2_2.dll.
Apache2.4 just use Php5apache2_4.dll why don't you have this Php5apache2_2.dll file???

How do I know that?
Where did you download the PHP package?

How do I know that?
Where did you download the PHP package?

PHP official website.

  • 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.