There are a couple of lines in custombuild that changes php.ini if you have php 5.3 installed after a php recompile:
if [ "${PHP5_VER_OPT}" = "5.3" ]; then
/usr/bin/perl -pi -e 's/^register_long_arrays/;register_long_arrays/' ${PHP_INI}
/usr/bin/perl -pi -e 's/^magic_quotes_gpc/;magic_quotes_gpc/' ${PHP_INI}
...
These two lines comment out register_long_arrays and magic_quotes_gpc directives from php.ini, since I need to have these turned off for my server, after a recompile I end up having magic_quotes_gpc and register_long_arrays enabled since these are stll default to on on php 5.3
Please remove these two lines of code from custombuild script or at least give an option somewhere to not alter php.ini if one do not wants to.
if [ "${PHP5_VER_OPT}" = "5.3" ]; then
/usr/bin/perl -pi -e 's/^register_long_arrays/;register_long_arrays/' ${PHP_INI}
/usr/bin/perl -pi -e 's/^magic_quotes_gpc/;magic_quotes_gpc/' ${PHP_INI}
...
These two lines comment out register_long_arrays and magic_quotes_gpc directives from php.ini, since I need to have these turned off for my server, after a recompile I end up having magic_quotes_gpc and register_long_arrays enabled since these are stll default to on on php 5.3
Please remove these two lines of code from custombuild script or at least give an option somewhere to not alter php.ini if one do not wants to.