open_basedir restriction in effect错误的解决办法

简介: 用apmserv5.2.6建虚拟主机的时候,发现如果包含目录上级的文件,会有错误。   应该把“PHP读写限制在以下目录(留空不限制)”的路径改成下,就可以了。 -----------------------------------------------------...

用apmserv5.2.6建虚拟主机的时候,发现如果包含目录上级的文件,会有错误。

<?php
require_once "../config.php";
?>

 

应该把“PHP读写限制在以下目录(留空不限制)”的路径改成下,就可以了。

----------------------------------------------------------------------------------------------------------------------

参考来源:http://787400.com/news/server/20101219/749.html

目录
相关文章
|
2月前
|
iOS开发 MacOS Windows
解决报错 unable to access jarfile apachejmeter.jar 的一些技巧!🔥
解决报错 unable to access jarfile apachejmeter.jar 的一些技巧!🔥
241 6
|
5月前
|
缓存 JavaScript
Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs‘TypeError: Cannot read proper
Error: EPERM: operation not permitted, mkdir ‘C:\Program Files\nodejs‘TypeError: Cannot read proper
54 0
|
Linux 开发工具
Too many open files 解决办法
还在等什么,快来一起讨论关注吧,公众号【八点半技术站】,欢迎加入社群
|
Android开发
意外导致了gradle project sync failed. Basic functionality will not work properly
意外导致了gradle project sync failed. Basic functionality will not work properly
意外导致了gradle project sync failed. Basic functionality will not work properly
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
解决办法:configure: error: You requested SRTP (requires libsrtp) but not found...die
116 0
|
Ubuntu
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
解决办法:GLib-ERROR **: Creating pipes for GWakeup: Too many open files
129 0
|
JavaScript
Error: EMFILE: too many open files, watch 报错的解决方法
Error: EMFILE: too many open files, watch 报错的解决方法
613 1
|
Unix Shell Linux