When using mod_php, it no longer uses $HOME/etc/php.ini, and it instead uses a system-wide config file. Where exactly that is depends on your distro, but on the sysem I’m looking at here, that’s in “/etc/php5/apache2/php.ini”. And then, after changing the values in there, you may need to restart Apache for the settings to take effect.