Increase post_max_size and upload_max_filesize

PROBLEM: You are using a plugin and it gives you the error:

Increase post_max_size and upload_max_filesize to 10M (10M could be any number)

SOLUTION: 

Find a file called php.php in the plugin folder. At the end of the file, find a line that starts with $sizelimit.

Change it to read $sizeLimit = 8 * 1024 * 1024; .

WHY: I don't know why it works, it just does.


Facebooktwittergoogle_pluspinterest