2 crucial steps to increase WordPress upload file size on Namecheap

Just discovered it takes 2 particular steps to change the WordPress settings on Namecheap’s web hosting, and it took me a while to find the answer. Hopefully this blog post will make it easier for you to find the answer here. By default, Namecheap allows for a maximum upload file size of 32MB.

Step #1 = create and edit a custom php.ini for your WordPress self-install

How to edit php.ini on shared servers


And in that php.ini, either modify or add these lines (for 64MB max file upload size):

post_max_size 64M
upload_max_filesize 64M

Step #2 = update the .htaccess file to use that custom php.ini you just updated

SuPHP directive for php.ini on shared servers


But, depending on your cPanel configuration (maybe?), you may not be able to view/edit a .htaccess file in the cPanel File Manager. I had to view/edit my .htaccess file via FTP. (cf. Web Hosting Tutorial: Uploading files for your website using FTP)


One thought on “2 crucial steps to increase WordPress upload file size on Namecheap

  1. You can easily modify via cPanel too:

    cPanel > Software/Services > Select PHP Version > Switch To PHP Options (right side link)

    Find the last option (upload_max_filesize) and click on the number (e.g. 2MB), then change it to the desired value and save. 🙂


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