[FLOW3-general] Problem with magic_quotes_gpc with PHP-FPM

"Christian Müller (Kitsunet)" christian.mueller at typo3.org
Fri Jul 20 22:28:17 CEST 2012


Hi Kerstin,

maybe check if there is another PHP version on this system anywhere? 
Could be that flow3 compile time uses some totally different PHP. If 
that is the case you can configure the path to your PHP binary.
But somehow I think your problem is a different one, but I never heard 
about that, indeed it could be a different php.ini used...

Cheers,
Christian

On 20.07.2012 18:23, Kerstin Huppenbauer wrote:
> Hi Philipp,
>
> thanks for your answer.
>
>>
>> Please set up a test script that checks the behavior. Maybe some kind of
>> cache is in your way (xcache, apc, eaccelarator, etc)?
>> Run it multiple times to see what happens.
>> Please not that running from CLI usually uses a different php.ini then
>> the
>> web request. PHP-FPM might have another php.ini on top of this.
>>
>> <?php
>> echo(get_magic_quotes_gpc());
>> ?>
>>
>
> I thought about the apc-cache too. Having such a test script running
> multiple times returns every time 0. The entry in the apc-cache seems to
> be ok.
> But with a freshly cloned FLOW3 Distribution (1.1-rc2) without any apps
> i get that error. Having echo get_magic_quotes_gpc() in the bootstrap i
> get 01.
> The first run of bootsrap is ok, but than the second run failes.
> It's like something turns magic_quotes_gpc on :-(
>
> Greets Kerstin
>



More information about the FLOW3-general mailing list