This is a discussion on compile and disable safe_mode within the PHP Language forums, part of the PHP Programming Forums category; Hi all, I've tried to compile PHP-4.3.3 for a HORDE installation and it requires that PHP ...
|
|||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
|
|||
|
Hi all,
I've tried to compile PHP-4.3.3 for a HORDE installation and it requires that PHP is compiled with safe_mode disabled. I compiled it like this: --disable-safe_mode --enable-safe_mode=no and omitted the line all together and still cannot get it to work because when I run the test that comes with HORDE I still see that safe_mode is not disabled. Any hints on what could be wrong? Thanks in advance... David |
|
|||
|
David Ruiz <farabundo_99@yahoo.com> wrote:
> I've tried to compile PHP-4.3.3 for a HORDE installation and it > requires that PHP is compiled with safe_mode disabled. I compiled it > like this: > > --disable-safe_mode > --enable-safe_mode=no > and omitted the line all together and still cannot get it to work > because when I run the test that comes with HORDE I still see that > safe_mode is not disabled. Any hints on what could be wrong? Hi David, You don't have to specify that at compile level - it's actually a runtime directive in php.ini. Put a php page with phpinfo() up and check whether it picks up a php.ini. If not, copy the php.ini-dist in your source folder to where PHP expects it to be and rename it php.ini. safe_mode should be off by default anyway, so it might be a different problem altogether. HTH; JOn |