Home  >  Article  >  Backend Development  >  Apache cannot load PHP module

Apache cannot load PHP module

王林
王林Original
2019-10-16 11:46:342921browse

Apache cannot load PHP module

The solution to the problem that apache cannot load the php module is:

1. Execute the command vi /etc/selinux/config

SELINUX=enforcing

is modified to:

SELINUX=disabled

2. Confirm the same content in /etc/sysconfig/selinux

SELINUX=enforcing

is modified to:

SELINUX=disabled //(如果已经是disabled就不用改了)

3. Restart apache

Recommended tutorial: PHP video tutorial

The above is the detailed content of Apache cannot load PHP module. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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