Upload more than 1 MB file in PHP.

1 · Subin Siby · Aug. 27, 2012, 6:43 a.m.
Some may have problem with uploading file more than 1 MB or 2 MB. You can fix this by editing the configuration file of PHP. To fix this follow the steps. Open Root Terminal (Applications - System Tools - Root Terminal). Type  sudo gedit /etc/php5/apache2/php.ini  and press enter key. You will get gedit application with the php.in file. Search for the words post_max_size & upload_max_filesize. If you found the words you will see a = after the word post_max_size & upload_max_filesize....