Increasing max file size uploads in PHP site
Posted: Thu Oct 09, 2014 11:58 am
I have recently upgraded my web site that uses PHP/SQL (a collaboration site used primarily for file storage and transfer to other clients) and am using the .user.ini file to increase the file upload size that is located in the root directory.
Using the following commands:
upload_max_filesize = 1500M
post_max_size = 1500M
upload_limit = 1500M
memory_limit = 64M
max_execution_time = 600
client_max_body_size = 1500M
After ugrading the site the file upload size has now lowered to 15M. I have heard that restarting the server can work but am not sure if there are other options (since this is a multiple user machine I assume other accounts would be effected). Also, I have a wordpress site also in my account and not sure if that is causing problems with the account.
Any help would be greatly appreciated,
Steve
Using the following commands:
upload_max_filesize = 1500M
post_max_size = 1500M
upload_limit = 1500M
memory_limit = 64M
max_execution_time = 600
client_max_body_size = 1500M
After ugrading the site the file upload size has now lowered to 15M. I have heard that restarting the server can work but am not sure if there are other options (since this is a multiple user machine I assume other accounts would be effected). Also, I have a wordpress site also in my account and not sure if that is causing problems with the account.
Any help would be greatly appreciated,
Steve