Home > Article > Operation and Maintenance > What should I do if apache does not parse php?
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.
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
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!