• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Issue WP-CLI for subscribers and PHP warnings

E42

New Pleskian
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
 
Back
Top