Tips

How to increase Max file upload size in WordPress for an Addon domain – SOLVED

0
  •  
  •  
  •  
  •  
  •  
  •  
  •  
  •  
Your PHP installation appears to be missing the MySQL extension which is required by WordPress-SOLVED
Opencart syntax error JSON.parse unexpected end of data at line 1 column 1 of the JSON data-[SOLVED]

Hi all,

There are lot of posts explaining how to increase the 2MB size limit in WordPress Admin section.

maxsize2mb

 

 

If you want to import Demo content into WordPress, you will certainly see the above image. I am not writing about the common steps such as editing PHP.ini or .htaccess file.

A) I tried to make changes in PHP.ini by adding

upload_max_filesize = 16M
post_max_size = 16M

and it didn’t help.

B) Added lines in.htaccess such as

php_value upload_max_filesize 16M
php_value post_max_size 16M
php_value max_execution_time 300
php_value max_input_time 300

But no way! It showed a 500Error while loading the website.


Now I will share the trick that worked for me.

  1. Search Select PHP version (PHP selector) in Cpanel.
  2. Change post_max_size and Upload_max_filesize to 16M (or even more) and SAVE.php_selector

 

 

 

 

 

 

3. If you are using Wordrpess in Addon domain, goto MultiPHPmanager and select the above edited php version for Addon domain. (In my case 5.6)

4. Load your WordPress site. If the site is throwing an error Your PHP installation appears to be missing the MySQL extension which is required by WordPress,
go back to PHP selector (Select PHP version), click on “Switch to PHP options” on right hand side.

5. Select mysqli.

6. Load your site. Login as Admin as see the difference.

16mb

 

 

Tip:-If you are not able to see “Switch to PHP options” in your Cpanel theme called Paper Lantern, please Change style to RETRO in User preferences. This may make a difference.

Also Visit

How to get Softaculous premium for 3 months FREE?

Own a VPS? Need softaculous premium? Normally softaculous
2017-08-16 12:44:49

18

Wayanad ranks #9 in Trivago’s Best Value Destination Index for 2016

Hi all, With all delight, I would like to share Trivago
2015-11-16 13:51:49

18

Get Rs.10 cashback at Wayanad.co.in store for Paytm,Mobikwik users

Hi all, Get Rs.10 cashback at
2015-11-12 13:17:43

18

Trial Call for Nifty

Hi all, Nifty opened higher at 9025.15 post
2015-03-02 09:35:44

18

Update for USDINR – 20.Jan.2015

Hi all, The pair USD/INR opened at 61.8550, a bit higher
2015-01-20 09:22:43

18

Update for USD/INR – 11-Dec-2014

Hi all, The pair USD/INR opened high at 62.3725 against
2014-12-11 09:08:02

18

Update for USD/INR – 10-Dec-2014

Hi all, The pair USD/INR opened at 62.2225 against
2014-12-10 09:08:01

18

Update for USD/INR – 9-Dec-2014

Hi all, The pair USD/INR opened higher at 62.18 instead of
2014-12-09 09:08:28

18

Like?

Leave a Reply

Be the First to Comment!

Notify of
avatar
wpDiscuz

Post count

Wayanad.net on Facebook