This guide will show you how to increase the memory limit in PHP. While we don’t have a technical limit on how high you can set the php memory limit, we highly recommend that you not exceed your plan pool size.
If your .user.ini file is setup, all you need to do is open up your .user.ini file in notepad++ and add the following line:
memory_limit = 512M
The changes will take place immediately. The web server does not need to be restarted.
Changing Your Max Upload
This guide will show you how to increase the max upload size in PHP (upload_max_filesize).
If your .user.ini file is setup, all you need to do is open up your .user.ini file in notepad++ and add the following line:
upload_max_filesize = 1024M
The changes will take place immediately and can be set to whatever value you like. The web server does not need to be restarted.
Notice: If you will be uploading files via the “POST” method (most common), you will likely need to increase the post_max_size configuration value in conjunction with the upload_max_filesize value, if you have not already done so. PHP recommends that you set the post_max_size value higher than the upload_max_filesize value. Experiment with increasing it slightly above upload_max_filesize and increase it further if your uploads are failing.
Changing Your Post Max Size
This guide will show you how to increase the max upload size in PHP (post_max_filesize). To ensure the changes
you’ve made have been properly configured, you’ll need to increase the limit for this value to be higher than
the upload_max_filesize.
If your .user.ini file is setup, all you need to do is open up your .user.ini file in notepad++ and add the following line:
post_max_size=1024M
The changes will take place immediately and can be set to whatever value you like. The web server does not need to be restarted.
Changing Your Max Execution Time
This guide will show you how to increase the time out limit in PHP (max_execution_time).This value sets the maximum time, in seconds, the PHP script is allowed to run.
If your .user.ini file is setup, all you need to do is open up your .user.ini file in notepad++ and add the following line:
max_execution_time=180
Note: This value can be set to whatever time limit you wish, however, please note that our server is configured to kill off PHP connections that last longer than 5 minutes, so please keep that in mind when setting the limit.
Changing Your Max Input Time
This guide will show you how to increase the time out limit in PHP max_input_time. This value sets the maximum time, in seconds, the script is allowed to receive input; this includes file uploads. For large or multiple files, or users on slower connections, the default value may be exceeded.
If your .user.ini file is setup, all you need to do is open up your .user.ini file in notepad++ and add the following line:
max_input_time=180
Note: This value can be set to whatever time limit you wish, however, please note that our server is configured to kill off PHP connections that last longer than 300s.