Solution to the problem that linux apache cannot parse php: 1. Remove the comment of "LoadModule php5_module modules/libphp5.so" in "httpd.cong"; 2. Modify the "php.ini" configuration file.
Recommended: "linux course"
apache installed under linux cannot parse php
1. Remove this line of comments
in httpd.cong
LoadModule php5_module modules/libphp5.so
2. If it doesn’t work, check
php.ini Check whether the display_errors = Off
is turned on, check the specific error
3, and change Deny from all in conf to Allow from all
There are many possibilities to check. Let’s take a look
Recommended: "PHP Video Tutorial"
The above is the detailed content of What should I do if linux apache cannot parse php?. For more information, please follow other related articles on the PHP Chinese website!