So the main php.ini file will be found at:
/etc/php5/apache2/php.ini
We're going to edit that file now:
pico /etc/php5/apache2/php.ini
Scroll down in that file until, one at a time, you find and change the following settings:
; Maximum amount of memory a script may consume (128MB)
; http:
memory_limit = 256M
; Maximum size of POST data that PHP will accept.
; http:
post_max_size = 256M
; Maximum allowed size for uploaded files.
; http:
upload_max_filesize = 256M
Set all 3 of those settings to
256M and save the file.