Configuring Apache and PHP Error related issues

Source: Internet
Author: User
Configuring Apache and PHP Error issues!
I downloaded Apache2.2 and php5.3 (my system is win7), I installed it after downloading, but when I configured Apache httpd.conf file, I just added these two sentences.
LoadModule php5_module "D:/php/php5apache2_2.dll"
Phpinidir "d:/php"

After the Apache restart, it reported "The requested operation has failed" error. I have taken a closer look at the road strength and the document is not wrong, this is why? Seek expert guidance, thank you


------Solution--------------------
Loadmodule php5_module "C:/php5/php5apache2.dll"
Phpinidir "C:/php5/php.ini"
AddType application/x-httpd-php. php

I remember something like that.
------Solution--------------------
discuss

Big Brothers, help, no one will?

------Solution--------------------
LoadModule php5_module "D:/php/php5apache2_2.dll"
Phpinidir "d:/php"
Are you sure you have php5apache2_2.dll under the path?
------Solution--------------------
Do you have to add this sentence and do you have "D:/php/php5apache2_2.dll"? That should be fine.
------Solution--------------------
PHP Code
Phpinidir "d:/php" LoadModule php5_module d:/php/php5apache2_2.dll addtype application/x-httpd-php
  
   
    
   . Phpaddtype application/x-httpd-php. Php3addtype application/x-httpd-php-source. Phps
  
   
  • 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.