Justtechjobs.com Find a programming school near you






Online Campus Both


php-general | 2005051

Re: [PHP] Exec don't work From: Greg Donald (destiney <email protected>)
Date: 05/10/05

On 5/10/05, Juan Pablo Herrera <jpherrera <email protected>> wrote:
> Hi!
> I using php version 4.3.10. I have a script that used the exec
> function. Well it script only work from shell, but not work form web
> browser.
> My php.ini:
> safe_mode Off Off
> safe_mode_exec_dir no value no value
> Have somebody experience in this problem?

Is it possible your mod_php is using a different php.ini than your cli php?

I use system() instead of exec(), I find it's rare than I don't want
to capture the resulting output of my commands.

-- 
Greg Donald
Zend Certified Engineer
http://destiney.com/

-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php