For a friend of a friend…

Add the Following to the php.ini File

You may increase the file size limits by modifying the upload size.

Use our friend find and edit the following (nano):

./etc/php5/cli/php.ini
./etc/php5/apache2/php.ini

Then look for the following (in nano “W” is our friend)

memory_limit = 128M
upload_max_filesize = 2M
post_max_size = 8M
file_uploads = On

Happy Uploading