When you make changes in the php.ini
file you have to restart the webserver or reloading the configuration files in most cases.
Because I have not enough reputation yet to write comments I assume you are using a LAMP environment. You can restart the webserver by typing in console:
service apache2 restart
or
/etc/init.d/apache2 restart
reload
or force-reload
instead of restart
should also work for just reloading the configuration files, but with restart
you're one the safe side.
Also make sure you're editing the correct php.ini
file. You can find the right file by looking at the 'Loaded Configuration File' directive of phpinfo()
output.