How Do I Change The Maximum Upload Size In Wordpress Godaddy
If you wait upward how to increase your PHP max file size, most sources will tell you lot to change the upload_max_filesize setting in your php.ini file. Well, I did that and it still wasn't working for me on my client'due south shared GoDaddy Linux hosting. So, I called them upwardly and plant the un-publicized "secret" way to practise it in their control panel. It'due south definitely not obvious or intuitive. Here information technology is!
Irresolute the Setting in the GoDaddy cPanel
1. Log into your GoDaddy account.
2. In the "My Products" section, click "Manage" in the Web Hosting expanse to get to the cPanel.
iii. In the cPanel, curlicue downward to the Software area. If you don't come across this, and then your hosting is an older version, and you should try using the php.ini method to change your upload limits.
4. Here's where information technology starts to become unintuitive. Click "Select PHP Version":
5. In the upper right corner, click "Switch to PHP Options" (if you don't see information technology, skip to the next method below):
half dozen. You'll see a list of your PHP options, including upload_max_filesize. Click on the value and Save it. If you are running WordPress and desire to alter this value for your Media Library uploads, you'll too need to fix the value of post_max_size accordingly.
7. Voila! The value should be updated! Y'all can check information technology by running phpinfo(); in a dummy file on the server, or if you're running WordPress, by going into the Media Library and clicking "Add New".
8. If it hasn't inverse, get dorsum to cPanel in GoDaddy and click PHP Processes. One time there, click the Kill Processes button (I know it sounds scary, but it will but halt currently viewed sites; information technology won't practise permanent impairment). Changes should appear after that.
Or, Your cPanel Might Look Like This
If you have a more than modern cPanel hosting plan, your pages will look different. Here are the steps:
- Log into your GoDaddy account
- Go to My Products
- In the Web Hosting department, find your hosting programme and click Manage
- Click cPanel Admin
- Click Select PHP version
vi. Click Options at the top:
7. You'll come across all of the PHP settings on this page!
Nonetheless Not Seeing It? Try This
I have a customer with GoDaddy Business Enterprise shared hosting for which the to a higher place process did non work. Also, older accounts don't have the option to change the upload size in cPanel at all.
For these accounts, yous'll have to manually add a php.ini file to your hosting directory'due south root. I'm referring to the very top level, not your site'south directory. Yous tin create the file using the file manager or a client like Filezilla.
Once you create it (or if information technology is already there), add together "upload_max_filesize=12M" (or any you lot want information technology to be) on a new line in the file. Nigh likely you lot'll too desire to set up "post_max_size = 12M" likewise.
Let me know if either of these worked for you! – Brian
I am a freelance spider web developer and consultant based in Santa Monica, CA who uses WordPress, PHP, and JavaScript to create websites and spider web applications for businesses, nonprofits, and organizations.
Source: https://brianshim.com/webtricks/change-php-max-file-upload-size-godaddy/
Posted by: dyerraident.blogspot.com
0 Response to "How Do I Change The Maximum Upload Size In Wordpress Godaddy"
Post a Comment