Questions about Apache php configuration

Source: Internet
Author: User
Ask Questions About Apache php configuration! When I first started configuring the PHP environment, I had a problem & quot; Therequestedoperationhasfailed & quot;. how can I solve this problem ?, Apache does not properly read the module. report on your apache php version. \ xa1 \ ask for help on Apache php configuration!

The problem "The requested operation has failed" has always occurred when configuring The PHP environment. how can this problem be solved?

------ Solution --------------------
Apache does not have a normal read module
Report on your apache php version
------ Solution --------------------
\ Xa1 \ xb0C: \ php \ php5apache2_2.dll \ xa1 \ xb1
It may be the path that has some Chinese fullwidth symbols or something. Turn off your input method and enter the path.
------ Solution --------------------
New users do not need to configure the environment. the integrated environment can help you get started quickly.
------ Solution --------------------
PhpStudyAdmin is recommended. you do not need to configure the environment yourself after installation.
------ Solution --------------------
For beginners, use the integrated environment.

------ Solution --------------------
If you are a newbie, we recommend that you use WAMP to focus on the environment and focus on programming technology R & D and learning. you can use WAMP for one-click installation to solve the configuration environment problem.
------ Solution --------------------
Configuring a single environment is still a problem for beginners.
------ Solution --------------------
Install xampp, but stop the IIS service first.
------ Solution --------------------
In httpd. conf

DirectoryIndex index.html index. php indicates the resolution file name and type.

It is important to add these three lines:

AddType application/x-httpd-php. php
PHPIniDir "D:/php5 /"
LoadModule php5_module "D:/php5/php5apache2_2.dll"

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.