PHP File Upload Limit

I was playing with a gallery plugin for WordPress and it had a maximum file size upload limit of 2MB. I thought this was pretty low considering the size of pictures from digital cameras nowadays. I looked into the plugin’s php file which handles the upload and found it called a php method called upload_max_filesize.

A little googling later I found out the file size limit is set in the php.ini file. This file is located at:
/etc/php5/apache2/php.ini
A search in vi later I found the directive and changed it. A reboot of apache 2 later and the file size limit change was confirmed by the WordPress plugin.

Related posts:

  1. WordPress Upload File IO Error
  2. Plugin Problem With WordPress 2.3
  3. WordPress 2.5 RC2
  4. Automatic WordPress Upgrade To 2.7.1
  5. Facebook Picture Upload Crashes Or Errors On FireFox

About Danny

Young I.T software professional always studying and applying the knowledge gained and one way to do this is blogging. Dedicated to I.T since studying pure Information Technology since the age of 16, Danny is now in the industry that he has aimed since leaving school. View all posts by Danny → This entry was posted in Website. Bookmark the permalink.

Leave a Reply

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

*

All comments must go through an approval and anti-spam process before appearing on the website. Please be patience and do not re-submit your comment if it does not appear.