Public bug reported:

Since last lucid security update, upgrading from 5.3.2-1ubuntu4.11 to
php5 5.3.2-1ubuntu4.13 introduced a regression in
ini_get("magic_quotes_gpc").

Even if magic_quotes are deprecated, this break codes relaying on
detection of this ini.

We can see clearly this problem :

grep ^magic_quotes_gpc /etc/php5/cli/php.ini 
magic_quotes_gpc = On

php -v
PHP 5.3.2-1ubuntu4.13 with Suhosin-Patch (cli) (built: Feb  9 2012 06:36:10) 

php -r 'var_dump(ini_get("magic_quotes_gpc"));'
string(1) "0"


php -v
PHP 5.3.2-1ubuntu4.11 with Suhosin-Patch (cli) (built: Dec 13 2011 18:49:27) 

php -r 'var_dump(ini_get("magic_quotes_gpc"));'
string(1) "1"

Maverick's php5 packages have the same behaviour :
php -v
PHP 5.3.3-1ubuntu9.9 with Suhosin-Patch (cli) (built: Feb  9 2012 06:37:37) 

php -r 'var_dump(ini_get("magic_quotes_gpc"));'
string(1) "0"

Thanks for your help

** Affects: php5 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to php5 in Ubuntu.
https://bugs.launchpad.net/bugs/930115

Title:
  php5 5.3.2-1ubuntu4.13 introduced regression

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php5/+bug/930115/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to