[quotes reordered and trimmed]

In article <[EMAIL PROTECTED]>, [EMAIL PROTECTED] (Daniel Lynn) 
wrote:

> > > apparently system() and exec() and all tha can't be called from php 
> > > if it is runnig as an apache mod..

>  the person in charge of teh server came to this conclusion for us and 
>  wether he is righ or wrong, we have to face the fact that the exact 
>  same code to make the system call used to work and now doesn't. There 
>  is no error or warning, and it happened right around when we sopped 
>  running php as a cgi script and started running it as an apache mod... 

The new install may be using a different php.ini file, or someone may have 
recently changed a php.ini setting.  There's a new-ish option called 
"disable_functions" which can be used to selectively turn off 
functions--system() and exec() being two of the more obvious targets for 
this.  Call phpinfo() to check whether a global or local setting is 
preventing those functions from running.

-- 
CC

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to