You are here: Re: [PHP] Exec don't work « PHP « IT news, forums, messages
Re: [PHP] Exec don't work

Posted by Greg Donald on 05/10/05 23:42

On 5/10/05, Juan Pablo Herrera <jpherrera@gmail.com> 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/

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация