• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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