Follow the installation steps to install PHP on UNIX to the Apache module,

Source: Internet
Author: User

This occurs because the PHP module does not run smoothly for some reason. Before asking for help, check the following three steps:
Make sure that the httpd program you run is compiled. Run/path/to/binary/httpd-l. If you do not see mod_php3.c in the list, reinstall the Apache program.
Are you sure you are in the Apache configuration file. conf (such as httpd. conf), such as AddType application/x-httpd-php3. php3. Make sure that the above AddType is not in the <Virtualhost> or <Directory> region. Otherwise, the MIME type you added will be invalid.
Finally, because Apache 1.2.x and Apache 1.3.x have different system configuration files. You need to check which configuration file is and check whether the AddType type is added to PHP. You can put an incorrect configuration syntax in httpd. conf to check whether the configuration file is correct when running httpd.

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.