I followed the installation steps to install PHP into Apache modules on UNIX, _PHP Tutorial

WBOY
Release: 2016-07-13 10:53:14
Original
903 people have browsed it

This happens because for some reason the PHP module is not running smoothly. Please check the following three steps before asking for help:
Make sure that the httpd program you are running is the one you just compiled. Please run /path/to/binary/httpd -l. If you don't see mod_php3.c in the list, please reinstall the Apache program.
Make sure you add the MIME type in the Apache configuration file .conf (such as httpd.conf), such as AddType application/x-httpd-php3 .php3, and also make sure that the above AddType is not placed in a , otherwise the MIME type you added will be invalid.
Finally, due to the different locations of the system configuration files of Apache 1.2.x and Apache 1.3.x. You need to check which configuration file is the real one and see if there is an AddType for PHP in it. You can put an incorrect configuration syntax in httpd.conf and see if there are any error messages when running httpd to determine whether the configuration file is correct.

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/632417.htmlTechArticleThis happens because the PHP module does not run smoothly for some reason. Please check the following three steps before asking for help: Make sure the httpd program you are running is the one you just compiled...
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template