I told you last month that I was looking around for new WordPress themes for my personal blog (this site) and Vic Pics. The trouble has been that my web hosting upload limit was 2mb, wich is fine for photos, but most half decent WordPress themes are well over that limit, so it was time for a fix.
WARNING: Geeky tech content below.
Some Google research revealed that to allow larger upload file sizes on my WordPress blogs that I would need to edit my pnp.ini file. Yeah-right, whatever that is. After a bit more research, I worked out how to find and edit my php.ini file, but hold on – it turns out I don’t have a php.ini file.
Checking my host provider’s “Help” pages I discovered I would have to create the file and then edit it with the correct details and then update the “.htaccess” line in the hosting files. Now I don’t normally like having anything to do with this sort of back-end code, but I gave it a go and wasn’t at all surprised when it didn’t work. Large files were still rejected with an error message.
What now? Try that other great research tool – YouTube. I found a good video that showed a php.ini file being edited, but the location was different (within the WP-ADMIN) folder instead of the Public_html folder that Crazy Domains said. So what I tried first was the code used in the video, typed into the php.ini file I’d created earlier as directed by the host’s help page. I held my breath as I tried again to install a large WordPress theme… and it worked, YAY!
So if you are with Crazy Domains and want to increase your upload limit, do this;
- Follow the Help pages and search for a php.ini file in your File Manager, Web Root (public_html)
- If you don’t have a php.ini file, create one in the public_html file
- Edit the php.ini file and enter the following lines and Save
upload_max_filesize = 128m;
post_max_size = 64m;
safe_mode = off;
- Find your .htaccess file and add the line below and Save
- SuPHP_ConfigPath /home/username/public_html/php.ini
- Keep your fingers crossed as you try again to upload that large file to your web host!
So now with the upload limit fixed, expect to see a shiny new theme to this site coming soon!
This blog post contains affiliate links to my web host provider.