-
AuthorPosts
-
June 23, 2014 at 3:26 pm #60118
Hi guys,
I sold a client on the X theme, and I’m trying to upload it to their [horrible] host, 1and1. I receive this error over and over: “The uploaded file exceeds the upload_max_filesize directive in php.ini”I tried to raise the upload limit in the php.ini file myself, both manually and through plugins, as apparently 1and1 does not allow you to raise the upload limit!
I’ve noticed that at least one other person has used this theme on their 1and1 site, though. What is your suggestion?
Thanks.
June 24, 2014 at 1:24 pm #60481Hi Cheryl,
Thanks for writing in,
Regarding about your issue, You can try this options below,
1. Add this line in .htaccess file
<IfModule mod_php5.c> php_value upload_max_filesize 30M </IfModule>
if it won’t work and you’re getting internal server error, remove that line from .htaccess
2. create a file on root directory called php.ini and add this code below
upload_max_filesize = "250M" post_max_size = "250M"
If it still doesn’t work then you have to upload the theme using FTP or you can try to contact your hosting provider and ask them to increase the upload limit of your server,
Hope it helps,
Cheers
January 20, 2016 at 8:37 pm #756121Hello! I am having the same issue, and it might be because I am not as technically savy but I created a root file but there is nowhere to add the code. Please help! 🙂
January 20, 2016 at 10:29 pm #756282Hey Jess,
Your hosting provider will be able to help you with this as this is a server related setup. Please contact them to increase your upload size.
Thanks.
-
AuthorPosts