Home >Backend Development >PHP Problem >What should I do if linux apache cannot parse php?

What should I do if linux apache cannot parse php?

藏色散人
藏色散人Original
2020-08-20 09:51:353185browse

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.

What should I do if linux apache cannot parse php?

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!

Statement:
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