Re: that whole system() thing again
| From: | CC Zona | Date: | Thu, 15 Mar 2001 10:22:41 +0000 |
| Subject: | Re: that whole system() thing again | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-44005@lists.php.net to get a copy of this message | ||
[quotes reordered and trimmed]
In article <3AB05CAF.ECA3C69E@fast.net>, waylund@fast.net (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