Re: [PHP] magic_quotes_gpc stays on even when disabled in php.ini

[email protected] (Madan Thapa)
Newsgroups php.general
Message-ID <CAD5Tu1TZvvyRgowZjC9Te2Y4i+v7tdLt5yCgV_Q2uUGX2zObPA@mail.gmail.com>
Turned out that this was due to cafeFS in cloudlinux,  and i had to copy
the php.ini file inside cafeFS skeleton,  so not any php issue in this case

I thank you all for your inputs






On Thu, Mar 28, 2013 at 7:52 PM, Jim Giner <[email protected]>wrote:

> On 3/27/2013 8:43 PM, Daniel Fenn wrote:
>
>> I think ";magic_quotes_gpc = Off" should be "magic_quotes_gpc = Off"
>>
>> Then restart apache/php or whatever it is your running
>>
>> Regards,
>> Daniel Fenn
>>
>>
>>
>>
>>
>>
>> On Thu, Mar 28, 2013 at 11:39 AM, Madan Thapa <[email protected]>
>> wrote:
>>
>>> Hi,
>>>
>>> I installed php 5.3.23 recently on a CentOS sever  and magic_quotes_gpc
>>> stays on even when disabled in php.ini
>>>
>>>
>>> root@server [~]# grep magic_quo  /usr/local/php5.3/lib/php.ini
>>> ; magic_quotes_gpc
>>> ;magic_quotes_gpc = Off
>>> magic_quotes_runtime = Off
>>> magic_quotes_sybase = Off
>>> root@server [~]#
>>>
>>>
>>>
>>>
>>> php info results:
>>>
>>> magic_quotes_gpcOnOnmagic_**quotes_runtimeOffOffmagic_**
>>> quotes_sybaseOffOff
>>>
>>>
>>>
>>> Is anyone aware of such issues for php 5.3.23 ?  or any  where i might
>>> look
>>> at in troubleshooting this?
>>>
>>>
>>> Please advise.
>>>
>>> Thank you
>>>
>> could also be that there is another ini file conflicting with your
> settings.  That happened to me.
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.