VPS侦探论坛

 找回密码
 注册
查看: 7797|回复: 2

Warning: Unknown: open_basedir restriction in effect. File(/home/wwwroot/default

[复制链接]
发表于 2013-8-1 13:23:13 | 显示全部楼层 |阅读模式

Warning: Unknown: open_basedir restriction in effect. File(/home/wwwroot/default/phpmyadmin/index.php) is not within the allowed path(s): (/home/wwwroot/www.abc.com/:/tmp/) in Unknown on line 0

Warning: Unknown: failed to open stream: Operation not permitted in Unknown on line 0

Fatal error: Unknown: Failed opening required '/home/wwwroot/default/phpmyadmin/index.php' (include_path='.:') in Unknown on line 0
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2013-8-1 13:43:27 | 显示全部楼层


[HOST=www.vpser.net]
open_basedir=/home/wwwroot/www.vpser.net/:/tmp/
[PATH=/home/wwwroot/www.vpser.net]
open_basedir=/home/wwwroot/www.vpser.net/:/tmp/

去掉了这个就好了  php.中设置了权限的问题
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
发表于 2013-8-1 14:38:51 | 显示全部楼层

lnmp默认虚拟主机的也要按前面的格式添加上
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-11-16 00:53 , Processed in 0.025691 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表