Is this problem still persists ? If you have missed the semicolon in php.ini, the changes will not reflect. try adding semicolon after each setting if you have missed.
If you are in shared hosting, there will be an option in your control panel to end the current session (something like End Web in GoDaddy). Kill that to start a new session to load your newly configured php.ini . .
PS: If the problem is in local machine, you have to restart your webserver. Also, in some hosting providers, configuration files will take effect from a specified time, like 12 00 hours GMT etc. In that case you can contact your hosting provider for that.