What should I do if apache does not parse php?

王林
Release: 2020-09-11 13:21:16
Original
2716 people have browsed it

The solution to Apache not parsing php: First use the editor to open the httpd.conf configuration file; then add the configuration [LoadModule php7_module modules/libphp7.so] to the file.

What should I do if apache does not parse php?

Solution:

(Video tutorial recommendation:php video tutorial)

Use first Open the httpd.conf configuration file in the editor;

and then add the following code to the configuration file.

LoadModule php7_module modules/libphp7.so AddType application/x-httpd-php .php DirectoryIndex index.php index.htm index.html
Copy after login

Related recommendations:php training

The above is the detailed content of What should I do if apache does not 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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!