Re: Safe mode and safe_mode_exec_dir
| From: | James Hatridge | Date: | Thu, 05 Dec 2002 19:39:44 +0000 |
| Subject: | Re: Safe mode and safe_mode_exec_dir | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127191@lists.php.net to get a copy of this message | ||
Hi Rodrigo et al...
On Thursday 05 December 2002 16:09, Rodrigo Borges Pereira wrote:
> Hello all,
>
> directly in /etc/php.ini doesn't work either. I noticed PHP was compiled
> with --with-exec-dir=/usr/bin, but i suppose that what we define in
> php.ini (at least) overrides that.
I had hell with safe_mode too. What I found out is that anything that is
"hardwired" in by being compiled can NOT be overrode by php.ini. I would
suggest for you to recompile PHP with everything turned off then use php.ini
to set what you want.
I did it this and now I'm able to run exec without problems.
Hope this helps,
JIM
--
Jim Hatridge
Linux User #88484
------------------------------------------------------
BayerWulf
Linux System # 129656
The Recycled Beowulf Project
Looking for throw-away or obsolete computers and parts
to recycle into a Linux super computer