Re: Re: Do local php.ini files overwrite all variables on acentral serverphp.ini?
| From: | Aziz Saleh | Date: | Wed, 15 Jan 2014 18:00:13 +0000 |
| Subject: | Re: Re: Do local php.ini files overwrite all variables on acentral serverphp.ini? | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-322701@lists.php.net to get a copy of this message | ||
Even if you are on a shared server, do a phpinfo() without any overrides, I
am pretty sure at least 1 variable in the main php.ini file has been
changed from the default values:
http://www.php.net/manual/en/ini.core.php
On Wed, Jan 15, 2014 at 12:49 PM, Misha <news.php.net@aloosenation.com>wrote:
> 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
>>>
>>>
>>>
>>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>