I would have thought that should work.
1. Are you sure you restarted Apache after you changed the php.ini
2. Are you sure you changed the php.ini file using the wampmanager menu system?
wampmanager -> PHP -> php.ini
Otherwise you probably changed \wamp\bin\php\php5.4.12\php.ini and that file is only used by the PHP CLI. Use the menus!
---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>Read The Manuals Apache --
MySQL --
PHP --
phpMyAdminGet your Apache/MySQL/mariaDB/PHP ADDONs here from the
WAMPServer alternate Repo-X-X-X-
Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-