Loadmodule php5_module/Apache cannot start/load/start failed

Source: Internet
Author: User

Apache cannot start

In the following two lines, Apache cannot be started?
Loadmodule php5_module modules/php5apache2. dll
Addtype application/X-httpd-PHP. php

After testing for N for a long time, I finally found the problem because of the different Apache versions, loadmodule?Php5_module modules/php5apache2. dllThis sectionCodeThe configuration is slightly different, and the error lies in this Code,

You shouldLoadmodule php5_module modules/php5apache2. dllInPhp5apache2. dllModifyPhp5apache2_2.dll,

Because the apache version you are using is 2.2, you need to change it so that the correct configuration is as follows: if your PHP Directory is C:/PHP, if the following is the correct Configuration:Loadmodule php5_module "C:/PHP/php5apache2_2.dll"
Addtype application/X-httpd-PHP. php

Can you check my configuration to start it successfully?
Loadmodule php5_module "F:/serv/PHP/php5apache2_2.dll"
Addtype application/X-httpd-PHP. php

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.