Drush Error
No security vulnerability advisories found
PHP Warning: Phar::mapPhar(): open_basedir restriction in effect. File(/usr/local/bin/drush) is not within the allowed path(s): (/var/www/vhosts/mysite.local/:/tmp/:/home/admin) in /usr/local/bin/drush on line 10
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/drush:0
PHP 2. Phar::mapPhar($alias = 'box-auto-generated-alias-53fbc7d5c1be.phar') /usr/local/bin/drush:10
PHP Warning: require(phar://box-auto-generated-alias-53fbc7d5c1be.phar/.box/bin/check-requirements.php): Failed to open stream: phar error: invalid url or non-existent phar "phar://box-auto-generated-alias-53fbc7d5c1be.phar/.box/bin/check-requirements.php" in /usr/local/bin/drush on line 12
PHP Stack trace:
PHP 1. {main}() /usr/local/bin/drush:0
PHP Fatal error: Uncaught Error: Failed opening required 'phar://box-auto-generated-alias-53fbc7d5c1be.phar/.box/bin/check-requirements.php' (include_path='.:/opt/plesk/php/8.0/share/pear') in /usr/local/bin/drush:12
Stack trace:
#0 {main}
thrown in /usr/local/bin/drush on line 12
Comments
Solution ( ~/bash_profile ):… Fr, 08/25/2023 - 09:06
Solution ( ~/bash_profile ):
alias drush='php -c ~/httpdocs/drush.ini ~/httpdocs/vendor/drush/drush/drush'
drush.ini
safe_mode = open_basedir = max_execution_time = 900 max_file_uploads = 200 max_input_time = 900 memory_limit = 4G
Neuen Kommentar schreiben