lnmp 错误集锦

1,新增的虚拟主机无法访问(困扰许久)

 解决方法:配置hosts域名指向

vim /etc/hosts

    添加以下内容:

   127.0.0.1 www.test001.com

    127.0.01  www.test002.com

2,php打开openssl失败

安装openssl:

yum install openssl openssl-devel -y 

posted @ 2020-07-28 16:53  尚真  阅读(103)  评论(0编辑  收藏  举报