By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
440,939 Members | 1,638 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 440,939 IT Pros & Developers. It's quick & easy.

compile and disable safe_mode

P: n/a
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
Jul 17 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
David Ruiz <fa**********@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
Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.