Solve configuration problems

Source: Internet
Author: User
Apache is installed under win8 to solve the configuration problem. after testing, it works normally. Then install the php-5.2.17, as the Apache module installation, using the default state, other options are not point, after installation, configure the apache and php configuration file, the test is normal. Click the msi installation file of php again, or install it as a module. at this time, click all the extension options not selected last time to solve the configuration problems of all modules.
Apache is installed in win8. after testing, it works normally. Then install the php-5.2.17, as the Apache module installation, using the default state, other options are not point, after installation, configure the apache and php configuration file, the test is normal. Then I clicked the msi installation file of php again and installed it as a module. now I clicked all the extension options that were not selected last time and installed all the modules. haha, I installed them all. Or the last configuration file. Test: apache is normal, html is accessible, php fails, and access to php becomes a file download prompt. After that, I checked the configuration file repeatedly, did not find out the cause, and checked again, and changed some configuration. as a result, apache could not start, but it also went down with honor. I also crashed, whining, and asking for a big fairy solution.

------ Solution --------------------
The PHP file type is not correctly configured in httpd. conf.
------ Solution --------------------
It is good for beginners to set up xampp or wamp on their own. why?
------ Solution --------------------
Haha, it's all loaded, and it's dead!

------ Solution --------------------
Check whether the port is occupied.
------ Solution --------------------
Some configuration errors in php. ini may cause apache to fail to start.
View apache logs

In addition, we should consider the compatibility between php compiled by vc9 and apache.

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.