The patch attached to PHP bug report fixes your problem:
root@howl:/tmp# /tmp/buildd/php5-5.3.3/cgi-build/sapi/cli/php -c /tmp/php.ini -r 'var_dump(ini_get("magic_quotes_gpc"));' string(1) "1" root@howl:/tmp# grep ^magic_quotes_gpc /tmp/php.ini magic_quotes_gpc = On root@howl:/tmp# /tmp/buildd/php5-5.3.3/cgi-build/sapi/cli/php -c /tmp/php.ini -r 'var_dump(ini_get("magic_quotes_gpc"));' string(1) "1" root@howl:/tmp# emacs php.ini root@howl:/tmp# grep ^magic_quotes_gpc /tmp/php.ini magic_quotes_gpc = Off root@howl:/tmp# /tmp/buildd/php5-5.3.3/cgi-build/sapi/cli/php -c /tmp/php.ini -r 'var_dump(ini_get("magic_quotes_gpc"));' string(0) ""
The patch attached to PHP bug report fixes your problem:
root@howl:/tmp# /tmp/buildd/ php5-5. 3.3/cgi- build/sapi/ cli/php -c /tmp/php.ini -r 'var_dump( ini_get( "magic_ quotes_ gpc")); ' php5-5. 3.3/cgi- build/sapi/ cli/php -c /tmp/php.ini -r 'var_dump( ini_get( "magic_ quotes_ gpc")); ' php5-5. 3.3/cgi- build/sapi/ cli/php -c /tmp/php.ini -r 'var_dump( ini_get( "magic_ quotes_ gpc")); '
string(1) "1"
root@howl:/tmp# grep ^magic_quotes_gpc /tmp/php.ini
magic_quotes_gpc = On
root@howl:/tmp# /tmp/buildd/
string(1) "1"
root@howl:/tmp# emacs php.ini
root@howl:/tmp# grep ^magic_quotes_gpc /tmp/php.ini
magic_quotes_gpc = Off
root@howl:/tmp# /tmp/buildd/
string(0) ""