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?

藏色散人
Release: 2023-03-04 19:56:02
Original
3147 people have browsed it

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
Copy after login

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!

Related labels:
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