But I don't understand what changed so significately in Drush 8 that I need to adjust my configuration which by the way, worked flawlesly with Drush 6 & 7??
Because, maybe I wasn't clear in my previous comment - everything worked with Drush 6 & 7 and now that configuration isn't good enough for Drush 8. I mean, wt.? :)
Thanks for help EduardoLeggiero! :)
EDIT: I tried to comment open_basedir line in /etc/php/php.ini file and it works now. I will also try out to override settings in drush.ini so I can revert php.ini change that I made.
Search Criteria
Package Details: drush-launcher 0.10.2-2
Package Actions
Git Clone URL: | https://aur.archlinux.org/drush-launcher.git (read-only, click to copy) |
---|---|
Package Base: | drush-launcher |
Description: | A small wrapper around Drush for your global $PATH. |
Upstream URL: | https://github.com/drush-ops/drush-launcher |
Licenses: | GPL |
Conflicts: | drush, drush-git, drush-launcher-git |
Submitter: | sanduhrs |
Maintainer: | sanduhrs |
Last Packager: | sanduhrs |
Votes: | 52 |
Popularity: | 0.000000 |
First Submitted: | 2018-04-18 09:52 (UTC) |
Last Updated: | 2024-04-28 13:42 (UTC) |
Dependencies (4)
- php
- composer (composer-gitAUR) (make)
- git (git-gitAUR, git-glAUR) (make)
- php-boxAUR (php-box-binAUR) (make)
Required by (0)
Sources (1)
trzalica commented on 2015-11-25 18:19 (UTC) (edited on 2015-11-25 18:35 (UTC) by trzalica)
<deleted-account> commented on 2015-11-25 10:01 (UTC)
Hi trzalica,
You need to follow the instructions that apeer after package installation:
----------------------------------------------------------------
Drush is meant to be run from the root directory of your Drupal
install by default. Look at /usr/share/doc/drush/ for an example
drushrc.php config and example plugin.
----------------------------------------------------------------
Additionally, if your php.ini settings are too restrictive,
you may have to override some of the settings using drush.ini
in either your home directory (~/.drush.ini) or in
/etc/drush/drush.ini for system-wide changes.
Or you can just comment the following line on your /etc/php/php.ini:
; open_basedir = /srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/
trzalica commented on 2015-11-24 20:22 (UTC)
After this newest upgrade (to drush 8) drush doesn't work... I get this output in the terminal window:
The following restricted PHP modes have non-empty values: [error]
open_basedir. This configuration is incompatible with drush. Please
check your configuration settings in /etc/php/php.ini or in your
drush.ini file; see examples/example.drush.ini for details.
file_exists(): open_basedir restriction in effect. File(/usr/share/doc/drush/README.md) is not [warning]
within the allowed path(s):
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/share/webapps/drupal/:/var/lib/drupal/:/usr/lib/drush/:/etc/drush/:/usr/share/drush/:/usr/share/pear)
preflight.inc:383
is_dir(): open_basedir restriction in effect. File(/usr/share/drush/commands) is not within the [warning]
allowed path(s):
(/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/:/usr/share/webapps/drupal/:/var/lib/drupal/:/usr/lib/drush/:/etc/drush/:/usr/share/drush/:/usr/share/pear)
preflight.inc:484
PHP configuration : /etc/php/php.ini /etc/drush/drush.ini /home/rogi/.drush/drush.ini
PHP OS : Linux
Drush script : /usr/share/webapps/drush/drush
Drush version : 8.0.0
Drush temp directory : /tmp
Drush configuration :
Drush alias files : /etc/drush/example.aliases.drushrc.php /home/rogi/.drush/aliases.drushrc.php
<deleted-account> commented on 2015-10-30 12:53 (UTC)
Package adopted and updated to version 7.1.0
:-)
socketwench commented on 2015-09-26 14:05 (UTC)
Thank you for updating, I've been far too busy to get to it myself.
socketwench commented on 2015-04-29 01:50 (UTC)
@jamesan: Can you issue a PR to the main repo? I'll definitely push it.
https://github.com/socketwench/arch-drush-git
jamesan commented on 2015-04-28 22:47 (UTC)
The 6.0.0 version string should be 7.0.0.rc1.r36.g86742e0 currently, using the following pkgver():
pkgver() {
cd "$_pkgname"
(
set -o pipefail
git describe --long --tag | sed -r 's/([^-]*-g)/r\1/;s/-/./g' ||
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
) 2>/dev/null
}
Also, you can use `composer install` to install drush and its dependencies from source with:
composer install --prefer-source --no-interaction --working-dir "$_pkgname"
I put these together along with a shorter package() function that keeps the entire drush file layout as the upstream has packaged it in the following PKGBUILD:
https://github.com/jamesan/aur-pkgs/blob/master/drush-git/PKGBUILD
realitygaps commented on 2015-04-06 12:12 (UTC)
@mncarbone: I dont get that error on my machine (drush works without php-mcrypt installed) perhaps this is an issue with your php.ini?
mncarbone commented on 2015-04-05 16:51 (UTC)
Rush requires php-mcrypt at running:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/mcrypt.so' - /usr/lib/php/modules/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
Please, add php-mcrypt as a dependency
socketwench commented on 2015-02-19 01:14 (UTC)
Should be fixed now.
Pinned Comments