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

[email protected] (Jim Giner)
Newsgroups php.general
Message-ID <[email protected]>
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.
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.