- Server operating system version
- Debian 11
- Plesk version and microupdate number
- Obsidian
As far as I know, subscribers accessing their subscriptions with SSH can use the WP-CLI just by installing it from scratch (download + give execute rights on the PHAR). Alas, this implies some errors on each command, like these:
PHP Warning: Phar::mapPhar(): open_basedir restriction in effect. File(/usr/local/bin/wp) is not within the allowed path(s): (/var/www/vhosts/somedomain.com/:/tmp/) in /usr/local/bin/wp on line 3
PHP Warning: is_readable(): open_basedir restriction in effect. File(/var/www/vhosts) is not within the allowed path(s): (/var/www/vhosts/somedomain.com/:/tmp/) in phar:///var/www/vhosts/somedomain.com/httpdocs/wp-cli.phar/vendor/wp-cli/wp-cli/php/utils.php on line 172
Is there any solution you know of? Thank you and kind regards
PHP Warning: Phar::mapPhar(): open_basedir restriction in effect. File(/usr/local/bin/wp) is not within the allowed path(s): (/var/www/vhosts/somedomain.com/:/tmp/) in /usr/local/bin/wp on line 3
PHP Warning: is_readable(): open_basedir restriction in effect. File(/var/www/vhosts) is not within the allowed path(s): (/var/www/vhosts/somedomain.com/:/tmp/) in phar:///var/www/vhosts/somedomain.com/httpdocs/wp-cli.phar/vendor/wp-cli/wp-cli/php/utils.php on line 172
Is there any solution you know of? Thank you and kind regards