How to increase upload_max_filesize on cPanel server

 

Open your .htaccess file and use the following line:

suPHP_ConfigPath /path/to/your/public_html

Exanple :- .htacess file:

suPHP_ConfigPath /home/webhostingzone/public_html

Then open your php.ini file and put there the following line.

php.ini file:

[PHP]
        file_uploads = On
        upload_max_filesize = 50M
        post_max_size = 50M

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s