Tag Archives: php.ini

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 Overflowhttp://stackoverflow.com/questions/1122418/changing-upload-max-filesize-on-php<?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.debrishttp://www.miscdebris.net/blog/2008/04/14/changing-the-php-file-upload-limit-in-ubuntu-linux/sudo 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…