• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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