最近帮一朋友调试站点,使用CentOS,重新配置了系统环境,跑ECShop程序,在开启PHP.ini 的 open_basedir 参数限定站点目录权限后,ECShop 运行网页头部提示如下错误:
Warning: include() [function.include]: open_basedir restriction in effect. File() is not within the allowed path(s): (/tmp/:/var/tmp/:/data/web/xxxxx ) in /data/web/xxxxx/includes/cls_template.php on line 1182
继续阅读 »