在liunx里getewayWorker启动报错

0

PHP Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/dy.cocolien.cn/) in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/dy.cocolien.cn/) in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
PHP Warning: require_once(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Warning: require_once(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
PHP Fatal error: require_once(): Failed opening required '/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Fatal error: require_once(): Failed opening required '/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
[dc2-user@10-255-0-16 GatewayWorker]$ php start.php
PHP Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/dy.cocolien.cn/) in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/dy.cocolien.cn/) in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
PHP Warning: require_once(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Warning: require_once(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
PHP Fatal error: require_once(): Failed opening required '/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Fatal error: require_once(): Failed opening required '/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
[dc2-user@10-255-0-16 GatewayWorker]$ php start.php
PHP Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/dy.cocolien.cn/) in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Warning: require_once(): open_basedir restriction in effect. File(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php) is not within the allowed path(s): (/www/wwwroot/dy.cocolien.cn/) in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
PHP Warning: require_once(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29


Warning: require_once(/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php): failed to open stream: Operation not permitted in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29
PHP Fatal error: require_once(): Failed opening required '/www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/vendor/autoload.php' (include_path='.:/www/server/php/56/lib/php') in /www/wwwroot/TP5.1/tp5/vendor/GatewayWorker/start.php on line 29

已邀请:

blogdaren - 常年游走于 Linux、PHP、C、VIM 之间【http://www.phpcreeper.com】

赞同来自: 小柠檬

这是 open_basedir 目录域权限设置不当造成,至于哪些是白名单域只有你自己知道,配置进去就可以了,或者最简单的方法就是干脆注释掉该指令:


vim /path/to/your/php.ini


;open_basedir =  

小柠檬

赞同来自:

解决了,谢谢!!

要回复问题请先登录注册