Use Custom php.ini file
Posted by Ruhi S on 03 January 2014 11:40 AM

It is possible to configure individual account php limits via a .htaccess. To do so the following setups will have to be done:

1) Create a php.ini file with the desired php values.
2) Add 'suPHP_ConfigPath /home/username/path/to/php.ini' to your .htaccess.


1) In .htaccess under public_html, add the following:

suPHP_ConfigPath /home/user/public_html 
<Files php.ini> 
order allow,deny 
deny from all 

2) In php.ini under public_html add the following, or any other settings that you want to use:

register_globals = On 
allow_url_fopen = On
upload_max_filesize = 80M 
post_max_size = 80M 
memory_limit = 80M 
upload_tmp_dir = 80M 
max_execution_time = 20000
(3 vote(s))
This article was helpful
This article was not helpful

Comments (0)
Post a new comment
Full Name:
CAPTCHA Verification 
Please enter the text you see in the image into the textbox below. This is required to prevent automated registrations and form submissions.

Copyright - SKY DEVELOPMENT, All rights reserved.