Are you sure the .ini you are editing is the correct one, in the correct location?
Try this file to see where your .php .ini is located:
save the file in your webroot and browse to it. Search for "ini".
I had this too once, turned out I as creating the PHP .ini file in the wrong location, and my settings were thusly never appearing inside my running PHP instance after the restart.