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
这是 open_basedir 目录域权限设置不当造成,至于哪些是白名单域只有你自己知道,配置进去就可以了,或者最简单的方法就是干脆注释掉该指令:
vim /path/to/your/php.ini
解决了,谢谢!!