compile and disable safe_mode

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 ...


Go Back   Usenet Forums > PHP Programming Forums > PHP Language

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-17-2003
David Ruiz
 
Posts: n/a
Default 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
Reply With Quote
  #2 (permalink)  
Old 10-17-2003
Jon Kraft
 
Posts: n/a
Default Re: compile and disable safe_mode

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
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 06:29 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0