compile and disable safe_mode

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • David Ruiz

    compile and disable safe_mode

    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
  • Jon Kraft

    #2
    Re: compile and disable safe_mode

    David Ruiz <farabundo_99@y ahoo.com> wrote:
    [color=blue]
    > 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?[/color]

    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

    Comment

    Working...