Follow the installation steps to install PHP on UNIX to the Apache Module. _ PHP Tutorial

Source: Internet
Author: User
Follow the installation steps to install PHP on UNIX to the Apache module ,. 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 the one you just compiled. this is 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.
Make sure that you have added the MIME type to the Apache configuration file. conf (for example, httpd. conf), such as AddType application/x-httpd-php3. php3, and make sure that the above AddType is not placed in Or Or 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.

Bytes. Before asking for help, check the following three steps: make sure that the httpd program you run is the one you just compiled...

Related Article

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.