测试Apache使用PHP
systemctl stop nginx #如果开启关闭nginx因为都占用80端口
systemctl start httpd
http://IP/info.php
测试Nginx使用PHP
systemctl stop httpd #关闭apache因为都占用80端口
systemctl start php-fpm
systemctl status php-fpm
systemctl start nginx
http://IP/info.php
发布 : Linux培训 来源:Linux培训问答
2020-08-28 17:02:32
测试Apache使用PHP
systemctl stop nginx #如果开启关闭nginx因为都占用80端口
systemctl start httpd
http://IP/info.php
测试Nginx使用PHP
systemctl stop httpd #关闭apache因为都占用80端口
systemctl start php-fpm
systemctl status php-fpm
systemctl start nginx
http://IP/info.php
声明:本站稿件版权均属中公教育优就业所有,未经许可不得擅自转载。