Increase WordPress Memory When In Shared Hosting Environment

on 01 November 2015  WordPress  Increase cPanel Memory, Increase WordPress Memory

I would like to thank my friends at Virtbiz, a local Data networking and web hosting company located in the Dallas Metroplex area.

We are unfortunately unable to make customization to a shared server's php.ini file on behalf of a single account. However, the end result can be easily accomplished by using a user.ini file.

To set up a user.ini file, perform the following steps:

Log in to your cPanel account.
Navigate to the File Manager (Home >> Files >> File Manager) interface.
Click the Web Root.
Select the Show hidden files checkbox.
Click Go.
Click the target directory. (public_html)
Click New File.

In the Create a New Field text box, enter .user.ini

Note: Do not forget to include the period that precedes the file name.

Click Create New File.
Click .user.ini and click Edit.
Enter the PHP directives that you wish to adjust for the directory and click Save.

You will most likely be interested in the following directives:
upload_max_filesize
post_max_size

For instance, if you wish to make this a maximum of 8MB, you would enter:
upload_max_filesize = 8M
post_max_size = 8M

I hope that this information is helpful.

Tks,
Support Team
VIRTBIZ Internet Services