Re: Re: Do local php.ini files overwrite all variables on acentral serverphp.ini?

From: Date: Wed, 15 Jan 2014 17:49:23 +0000
Subject: Re: Re: Do local php.ini files overwrite all variables on acentral serverphp.ini?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-322700@lists.php.net to get a copy of this message
Yes, but I don't actually have control over the main php.ini file. I'm actually the user on the shared server. I hate to be so cautious about this, but somehow it's very hard to find an answer! I have heard both that it does revert to defaults (years ago and recently) and also a few times that it reverts to the server defaults (recently). On 1/14/14 1:20 PM, Aziz Saleh wrote:
You can easily confirm by changing your main php.ini to a non default value, then use a localized php.ini that doesn't contain that value and make sure it is still not the default value. Aziz On Tue, Jan 14, 2014 at 1:17 PM, Misha <news.php.net@aloosenation.com>wrote:
I wanted to double check (to see if anyone else can confirm what Aziz says) this. Can anyone else comment (or is there a better newsgroup I can ask in?)? Thanks. On 1/13/14 3:46 PM, Misha wrote:
I have a question about php.ini files. I am using a shared hosting server for hosting a website. They use a customized php.ini file for the server. I would like to override certain variables on a local directory. What I have heard is that I must include all the variables on the php.ini file or else it will set the unlisted ones to defaults. Is this true? Thanks!
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php


« previous php.general (#322700) next »