How to increase the max upload size in php using .htaccess

So if you are like me using Mosso and cant edit the php.ini file then if you want to increase the default upload size you need to edit your .htaccess file and add the following (adjust as needed):

1
2
3
php_value post_max_size 16M
php_value upload_max_filesize 16M
php_value max_execution_time 600

Proudly powered by Hexo and Theme by Hacker
© 2018 Sam Hamilton