Re: shell_exec question

From: Date: Wed, 08 Oct 2003 12:51:01 +0000
Subject: Re: shell_exec question
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-165415@lists.php.net to get a copy of this message
Did you edit the right php.ini? Check out phpinfo() output for "Configuration File (php.ini) Path" Chris Blake wrote:
On Wed, 2003-10-08 at 13:56, David Otton wrote:
However, is there any reason you're not using readdir()? http://uk.php.net/manual/en/function.readdir.php
I`ve got a whole bunch of other stuff happening using shell_exec, eg file searches etc.... I changed php.ini entry for safemode=on , restarted Apache, but that didn`t help.....opendir() returns the following : ========= Warning: opendir() [function.opendir]: SAFE MODE Restriction in effect. The script whose uid is 0 is not allowed to access /home owned by uid 0 in /var/www/html/backups.php on line 8 Warning: opendir(/home/chris/PBPCBackup/) [function.opendir]: failed to open dir: No such file or directory in /var/www/html/backups.php on line 8 ========= I got this error as well prior to changing the safe mode parameter... Still lost, but searching :(


« previous php.general (#165415) next »