king

apache不识别php7怎么办

king apache 2022-06-22 771浏览 0

apache不解析php7怎么办

解决Apache无法解析PHP问题

编辑httpd.conf文件

添加如下代码

LoadModule php7_module modules/libphp7.so
AddType application/x-httpd-php .php
DirectoryIndex index.php index.htm index.html

第一句,装完php就自动生成


继续浏览有关 apachephp 的文章
发表评论