Hello yall!
When trying to use any wpcli command I am getting the following error response:
PHP Warning: Phar::mapPhar(): open_basedir restriction in effect. File(/usr/local/bin/wp) is not within the allowed path(s): (none) in /usr/local/bin/wp on line 3
PHP Warning: include(): open_basedir restriction in effect. File(wp-cli.phar) is not within the allowed path(s): (none) in /usr/local/bin/wp on line 4
PHP Warning: include(): open_basedir restriction in effect. File(wp-cli.phar/php/boot-phar.php) is not within the allowed path(s): (none) in /usr/local/bin/wp on line 4
PHP Warning: include(phar://wp-cli.phar/php/boot-phar.php): failed to open stream: phar error: invalid url or non-existent phar "phar://wp-cli.phar/php/boot-phar.php" in /usr/local/bin/wp on line 4
PHP Warning: include(): Failed opening 'phar://wp-cli.phar/php/boot-phar.php' for inclusion (include_path='.:/usr/share/php') in /usr/local/bin/wp on line 4
Anyone know how to resolve this?
Thanks