How to increase default 2 MB WordPress upload size?

Asked By 0 points N/A Posted on -
qa-featured

 

I’m new to Word Press, in fact new to the internet, and was wondering if it is possible to increase default 2 MB Word Press upload size? If it is possible then telling me how it is done?

Any kind of help would be appreciated.

 

SHARE
Answered By 0 points N/A #164407

How to increase default 2 MB WordPress upload size?

qa-featured

Hey James,

I know a code. I think it will help you to increase your upload limit.

To configure an upload limit to the below:

  •  Create php.ini if it does not already exist.
  • Open an SSH session to your account.

Enter touch ~/webapps/application/php.ini where the application is the name of the application as it appears in the Control Panel, and press Enter.

  • Edit php.ini.
  • Open ~/webapps/application/php.ini in a text editor.
  • Add these lines to the end of the file:
  • upload_max_filesize = XM
  • post_max_size = XM
  • Where X is the maximum number of megabytes you want to allow to be uploaded.

Save and close the file.

Login/Register to Answer

Related Questions