Home > Operation and Maintenance > Apache > apache not parsing php

apache not parsing php

王林
Release: 2019-10-16 11:46:24
Original
2901 people have browsed it

apache not parsing php

Solution to the problem that apache cannot parse php:

1. Uninstall the mod_php module and reinstall it

[root@vm-centos conf.d]# yum remove mod_php
[root@vm-centos conf.d]# yum install mod_php
Copy after login

2. Check the mod_php module again

[root@vm-centos conf.d]# ls -l /etc/httpd/modules/*php*
-rwxr-xr-x. 1 root root 5124456 Oct 12 03:27 /etc/httpd/modules/libphp7.so
-rwxr-xr-x. 1 root root 5313960 Oct 12 03:27 /etc/httpd/modules/libphp7-zts.so
[root@vm-centos conf.d]#
Copy after login

Recommended tutorial: PHP video tutorial

The above is the detailed content of apache not parsing 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