- http://php.net/manual/en/ini.list.php
upload_max_filesize “2M” PHP_INI_PERDIR
- http://php.net/manual/en/configuration.changes.modes.php
PHP_INI_PERDIR Entry can be set in php.ini, .htaccess, httpd.conf or .user.ini (since PHP 5.3)
So you can’t use ini_set
for this.