Changing the php file upload limit in Funtu Linux

To increase the PHP upload limit on a Funtoo based server, I needed to adjust these two settings in php.ini:

php_value upload_max_filesize 15M
php_value post_max_size 15M

More related resources:

upload – Changing upload_max_filesize on PHP – Stack Overflow<?php ini_set(‘upload_max_filesize’, ’10M’); echo ini_get(‘upload_max_filesize’), “, ” , ini_get(‘post_max_size’) I end up with:
Changing the php file upload limit in Ubuntu Linux | miscellaneous.debris nano /etc/php5/apache2/php.ini search for “upload_max_filesize” with Ctrl-W and change “2M” to “20M”. Save the file with Ctrl-O and exit…

Leave a Reply

Your email address will not be published. Required fields are marked *