linux配置nginx+php,但是无法访问PHP文件,能访问html 100
如题,直接就报错502,下面是页面+nginx错误日志和nginx的php设置求大神!!!nginx错误日志:2017/12/1612:21:50[error]2018#...
如题,直接就报错502,下面是页面+nginx错误日志和nginx的php设置求大神!!!
nginx错误日志:
2017/12/16 12:21:50 [error] 2018#0: *84 open() "/usr/local/nginx/html/License/index.php" failed (2: No such file or directory), client: 23.83.240.10, server: localhost, request: "GET //License/index.php HTTP/1.1", host: "47.52.201.183:80" 展开
nginx错误日志:
2017/12/16 12:21:50 [error] 2018#0: *84 open() "/usr/local/nginx/html/License/index.php" failed (2: No such file or directory), client: 23.83.240.10, server: localhost, request: "GET //License/index.php HTTP/1.1", host: "47.52.201.183:80" 展开
3个回答
快又稳
2024-10-28 广告
2024-10-28 广告
Apache基于域名的虚拟主机配置主要涉及到在Apache配置文件中为不同域名指定不同的网站目录和日志路径。配置时,需确保域名已正确指向服务器的IP地址。在Apache的`httpd-vhosts.conf`或类似配置文件中,为每个域名创建...
点击进入详情页
本回答由快又稳提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询