473,382 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,382 software developers and data experts.

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
Jul 17 '05 #1
1 2447
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Henrik Oddershede | last post by:
Hi. I am having a problem with safe_mode in PHP-4.3.2. I was running an Apache-1.3.27 web server on solaris8 with PHP-4.3.1 with safe_mode on - and everything was working fine. Yesterday, I...
0
by: Gerrit Kuilder | last post by:
Hello All, I have the following question: a hosting provider has turned local safe_mode off and the master safe_mode is on. This prevents an application/php script to work. The provider...
1
by: Felix Natter | last post by:
hi, I would like to upload a file (via a form), then read that (temporary) file and write the contents into a database. The first problem is that open_basedir=/home/CUSTOMER so I can't just read...
0
by: bedek | last post by:
Hello How to set BASH variable form PHP which is working in "safe_mode" ? .... and to check if it's set for sure ? I find out that I should create directory for binaries in home direcotry of...
2
by: badkarspiloten | last post by:
Hi there! I have just migrated from VS 2003 to VS 2005 and are getting lots of compile warnings when building my solution. Some of them I want to disable. I have managed to do this with my...
1
by: David | last post by:
I inherited a system with PHP installed without CURL compiled into the PHP module. Is there any good reason for NOT adding curl into PHP? I have been asked to rebuild PHP, but do not wish to...
1
by: ramc18 | last post by:
My PHP.INI configuration have safe_mode = Off but in local execution it get On. I noticed this strange behaviour with a script that shows an error in move_uploaded_file. I write a minimal script...
0
by: Zeilkman | last post by:
Hi everybody, I'm runing LAMP on a Fedora 7 + Plesk server. PHP Version 5.0.4 Apache 2.0 Handler The "local value" of Safe Mode is ON and the "master value" is OFF I try to change the...
2
by: akhilesh.noida | last post by:
I am trying to compile glibc-2.5 for ARM based board. But I am getting errors while configuring it. Please check and give your inputs for resolving this. configure command : $...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.