When trying to run Drush (drush,v 1.6 2009/05/24 16:10:36) on my server
PHP Version 5.2.0-8+etch15
System Linux lv2529 2.6.18-028stab062.3-ent #1 SMP Thu Mar 26 15:12:05 MSK 2009 i686
Build Date May 1 2009 10:13:14
Server API Apache 2.0 Handler
Virtual Directory Support disabled
Configuration File (php.ini) Path /etc/php5/apache2/php.ini
I receive the following error
PHP safe mode is activated. Drush requires that safe mode is [error]
disabled.
Drush could not execute.
although safe_mode is turned off in the php.ini
safe_mode Off Off
safe_mode_exec_dir no value no value
safe_mode_gid Off Off
safe_mode_include_dir no value no value
This must be a newbie problem, could someone help me out there,
thanx
Comments
Comment #1
jonhattancybernomad: The Configuration File (php.ini) Path for the php command line is /etc/php5/cli/php.ini. It is not the same as the one for apache. So you disable safe mode there. You can also check if your php executable has safe mode on "in hot":
I'll mark the issue as fixed. Feel free to reopen if the problem persist.
Comment #2
cybernomad commentedHi jonhattan,
great thanx a lot for this insight
Comment #4
digitalfrontiersmediasome systems may have this setting in /etc/php.ini instead of /etc/php5/apache2/php.ini