我之前参考;https://www.cnblogs.com/xuecong/p/7496918.html
安装nginx成功后,也访问到了nginx界面

然后我参考他安装php
安装成功后,再去访问127.0.0.1的时候,呈现的界面居然是apache的,从头开始我就没有安装apache,
后来仔细看来下:sudo apt-get install php7.1命令出现的数据:
Ubuntu 16.04 下搭建 LNMP环境安装php7.1的小坑

看图应该就明白了,他自动给你安装了apache

所以使用sudo apt-get install php7.1 php7.1-common php7.1-fpm这个命令

相关文章:

  • 2022-12-23
  • 2021-10-19
  • 2021-09-07
  • 2022-01-14
  • 2021-11-15
  • 2021-12-30
猜你喜欢
  • 2022-12-23
  • 2021-08-02
  • 2021-07-29
  • 2021-06-29
  • 2022-12-23
相关资源
相似解决方案