Increasing PHP Limits

In order to have your own customize php.ini file functioning properly, your host must support users with customize php files. If your WHM setups uses suPHP, then it should support customize php.ini files.

In order to see your php setup, create a file usting notepad (Windows) or textedit (Mac) and save it as “phpinfo.php”.

Type this in the file and save it again.


Upload this file to your public_html folder and admin folder.

Open up a web browser and load this file by typing

Rendering this file will show the configurations of the php.

To make adjustments, created a second file and save it as “php.ini”.

Here are some key parameters that you may include in your php.ini file to make adjustments.

; File Uploads ;
; ;;;;;;;;;;;;;;

; Whether to allow HTTP file uploads.
file_uploads = On;
; Maximum allowed size for uploaded files.
max_file_uploads = 64M;
max_execution_time = 900;
upload_max_filesize = 64M;
memory_limit = 64M;
post_max_size = 64M;
max_input_vars = 1000;

Save the file and upload it to the public_html folder on your website. Now run your phpinfo.php file again to see the parameters reflect change.

admin has written 39 articles

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>