linux(ubuntu)服务器安装Nginx、PHP

使浏览器能够正常解析index.php,而不是下载index.php文件 1、安装Nginx、PHP apt-get install nginx apt-get install php7.2 php-fpm 2、重启一下php-fpm服务:service php7.2-fpm restart 若是报错说找不到这个服务,那能够去/etc/init.d/中查看Service服务,找到你的php-fpm
相关文章
相关标签/搜索