In short, there is no way to change it in Plesk 11, but it can be easily done using SSH. See how...
There are a lot of articles explaining how you can do this, and tools that looks like they work, but actually they do not. We will talk about it later, but here is a solution:
- Find file /etc/php5/apache2/php.ini
- Change max_file_uploads 20 to whatever you need to (ex: max_file_uploads 100 if you need to upload 100 files)
- Reboot the server
After this steps you get max_file_uploads to the number you want it to be. (we also changed php.ini.saved_by_psa just in case Plesk decides to overwrite)
Here are a few things you probably noticed:
- In /usr/local/psa/admin/conf/php.ini max_file_uploads is set to 9999 (not sure why, but it does not reflect reality)
- If you do <? php_info() ?> you see that PP_CUSTOM_PHP_INI /var/www/vhosts/domain.com/etc/php.ini but there is no such file on the system (because Configuration File (php.ini) Path /etc/php5/apache2/php.ini)
- There is "additional directives" that supposed to write into php.ini, but do not work