Tuesday, 16 February 2016

How to fix file size uploads on lunarpages.com hosting

Added to .htaccess
suPHP_ConfigPath /home/{your username here}/public_html

Added to PHP.INI
post_max_size = 20M <<<--- must be larger than next one
upload_max_filesize = 19M
memory_limit = 128M
max_execution_time = 200
max_input_time = 200
max_file_uploads = 20

And if a multi-size, also bump the Max upload file size in network settings.
These fix the setup on http://www.lunarpages.com.

Thanks to Gil Jones

No comments:

Post a Comment