• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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