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

Bastian Waidelich bastian at typo3.org
Mon Jul 23 10:24:35 CEST 2012


Kerstin Huppenbauer wrote:

Hi Kerstin.

> i have a strange problem with magic_quotes_gpc [...]

> First time running through the bootstrap (from Web/index.php) everything
> is ok - get_magic_quotes_gpc() returns 0
> but the secound time from \TYPO3\FLOW3\Scripts\flow3.php
> get_magic_quotes_gpc() returns 1 [...]

Could you check wether php_ini_loaded_file() returns the correct path to 
your php.ini (having magic_quotes_gpc turned off)?

Also, to be on the safe side, you should explicitly specify the path to 
your PHP binary in the global Configuration/Settings.yaml:

TYPO3:
   FLOW3:
     core:
       phpBinaryPathAndFilename: '/path/to/your/php'


Best,

-- 
Bastian Waidelich
TYPO3 Core Team Member

TYPO3 .... inspiring people to share!
Get involved: typo3.org


More information about the FLOW3-general mailing list