473,406 Members | 2,371 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,406 software developers and data experts.

Local/Master variables

Im trying to get my apache server to run php in none-safe-mode (safe_mode == "0"). It is set like this in php.ini, however, when i look at a phpinfo(); it shows that locally this is still set on, despite the master
being off. I cant find config files specific to each domain on the server - nor can i see anywhere in php.ini where other configs are included. I've tried an
ini_set("safe_mode", "0"); but that didnt help. Does anyone have any ideas
as to how i might be able to sort this?

thanks
Luke

Jul 17 '05 #1
3 4012
On 2003-12-22, Luke Dicken <s0******@sms.ed.ac.uk> wrote:
Im trying to get my apache server to run php in none-safe-mode (safe_mode == "0"). It is set like this in php.ini, however, when i look at a phpinfo(); it shows that locally this is still set on, despite the master
being off. I cant find config files specific to each domain on the server - nor can i see anywhere in php.ini where other configs are included. I've tried an
ini_set("safe_mode", "0"); but that didnt help. Does anyone have any ideas
as to how i might be able to sort this?


Have you already looked for a .htaccess file that turns safe_mode on?
--
verum ipsum factum
Jul 17 '05 #2
Did you restart Apache after you made the change?

"Luke Dicken" <s0******@sms.ed.ac.uk> wrote in message
news:Pi**************************************@wars pite.inf.ed.ac.uk...
Im trying to get my apache server to run php in none-safe-mode (safe_mode == "0"). It is set like this in php.ini, however, when i look at a
phpinfo(); it shows that locally this is still set on, despite the master being off. I cant find config files specific to each domain on the server - nor can i see anywhere in php.ini where other configs are included.
I've tried an ini_set("safe_mode", "0"); but that didnt help. Does anyone have any ideas
as to how i might be able to sort this?

thanks
Luke

Jul 17 '05 #3
To answer my own question, i had missed a line in the httpd.conf that
turned it on duing the module include - thanks for the ideas guys, i
checked them all out, then find this entriely by accident.

Luke

Jul 17 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

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: Christian Caron | last post by:
Hello, I tried to define a local error log for one instance of my webserver, but PHP seems to ignore it... As a master value, in php.ini, there is: error_log = /usr/local/php/log/php.log ...
3
by: Joel Reinford | last post by:
I am attempting to learn how to use Master Pages in ASP.NET 2.0 and am having no success in getting the content page to see the public properties in the master page. I am using code beside and have...
1
by: LilC | last post by:
I'm creating an application that has a standard layout for all pages. The information that is displayed in the layout will be dynamic based on the user that is logged in. Thus when a page is...
55
by: Zytan | last post by:
I see that static is more restricted in C# than in C++. It appears usable only on classes and methods, and data members, but cannot be created within a method itself. Surely this is possible in...
1
by: schneider | last post by:
Is it possible to get access to the local resource (App_LocalResources) of an aspx page from within a user control located somewhere else? I have created a user control which I want to add to a...
4
by: evantay | last post by:
I'm using ASP.NET 2.0 with VS.NET 2005. I'm trying to access properties from my master pages within a page that inherits from that master page (a child page). However the values are always null....
8
by: Samant.Trupti | last post by:
Hi All, I am facing a strange problem.. I am calling a function func2 from func1. Before calling func2 all the local variables in func1 looks fine and has their respective values. When...
3
prasans
by: prasans | last post by:
I have stored some of the variables used by lot of other pages of my website on the master page. As we are migrating to a load balanced environment, I want to know if I need to move those variables...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new...

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.