Increase the file upload limit in php.ini for WordPress

Asked by:
nathanjmayes / 8 Points
Time:
2012-05-02 8:29 am EST
Category:
General Server Setup
Hits:
997
I'm working in Wordpress and I want to increase the file upload limit for my website. The files sent by clients are typically large files that exceed the 128M limit and I want to change it.

I have changed my php.ini file, however, the changes are not being recognized. How do I fix this? Can I?

To ask this user for more information, please first login.

To submit an answer, please login.

Best answer chosen by User

0

ChristiNi
Staff
13,688 Points
2012-05-02 3:23 pm EST
Hi nathanjmayes,

I'm sorry you're having trouble updating your local PHP settings. By default, the php.ini only affects the files in the folder that it is placed in, and not other folders on the account. Updating your php.ini file in public_html/php.ini will not affect subfolders of public_html such as public_html/addondomain.com.

To correct this problem, you can either:

1. Copy your public_html/php.ini file to each folder
or
2. Make your php.ini file recursive by adding the following to the top of your public_html/.htaccess file (replace userna5 with your actual cPanel user name):


suPHP_ConfigPath /home/userna5/public_html

Please let us know if you have any additional questions or need further assistance.

Regards,

Christi N.

To submit a comment on this answer, please first login.

Want to share this Question?

Related Articles

It looks like there are no related articles.
Would you like to ask a question about this page? If so, click the button below!
Need More Help?

Help Center Search

Current Customers

Email: support@WebHostingHub.com Ticket: Submit a Support Ticket
Call: 877-595-4HUB (4482)
757-416-6627 (Intl.)
Chat: Click To Chat Now

Ask the Community

Get help with your questions from our community of like-minded hosting users and Web Hosting Hub Staff.

Not a Customer?

Get web hosting from a company that is here to help.
}