Home>Article>Operation and Maintenance> What should I do if apache does not parse php7?
The solution to Apache not parsing php7: first find and open the httpd.conf file; then add the code "LoadModule php7_module modules/libphp7.so".
The operating environment of this article: Windows7 system, PHP7 version, DELL G3 computer
Solution to the problem that Apache cannot parse PHP
Edit the httpd.conf file
Add the following code
LoadModule php7_module modules/libphp7.so AddType application/x-httpd-php .php DirectoryIndex index.php index.htm index.html
The first sentence will be automatically generated after installing php
Recommended learning: "PHP Video tutorial》
The above is the detailed content of What should I do if apache does not parse php7?. For more information, please follow other related articles on the PHP Chinese website!