Home > Article > Backend Development > 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!