Hi, Iive changed my shared server and now migrate to another SHARED server. I'm trying to upload Wordpress backup file using wordpress->Tools->Imports. But its upload limit is only 2MB and the file size i need to done with is almost 34MB. I tried Googling and found many helpful codes to change php.ini codes, but i have no access since i am using shared hosting. Other codes says to change .htaccess file with php code to change size limit. I made the necessary changes to .htaccess file but it gave me below error. The uploaded file exceeds the upload_max_filesize directive in php.ini. I tried an expliting software too, people commented that they are done using this software. But I still receive the same above error code. I wonder if someone can give me a code that can help me uploading a big file size to my Wordpress. Please give me a complete .htaccess file if you think this can work. Will be adding a reputation, for sure! Thanks in advance!!
the error that you have The uploaded file exceeds the upload_max_filesize directive in php.ini. certainly means that no one other than your webhost can help you....
the error is not on your .htaccess file. it is under php.ini file... are hosting this locally.?? to set your upload_max_filesize go to your php.ini file then restart apache...
He says he has shared hosting and doesn't have access to php.ini, so that leaves him 2 options 1) contact host for support 2)find new host....
try database plugin to backup the wordpress http://www.blogtrafficexchange.com/wordpress-backup Code (markup): u can use the same plugin to restore the backup
Hi. Kaleswar! Yes, I got it, i should need to change my php.ini files but unfortunately I'm not able to access it because of shared hosting. rep added. Bartolay13! Thanks but i must have dedicated or VPS to perform such action. rep added. Bhuthecoder! Thanks for your plugin, i would try it first, for sure. rep added. Otherwise as you people said, i would look to another shared hosting that i've. I'll update what has happened as a solution. Thank you all people for sharing your thoughts.
I think, if you place your php.ini file in root directory of your account, after setting upload_max_filesize to desire size. If you donot find php.ini file in your account, you may download it from some other website, and paste that php.ini file into your account. I hope, it will work than. If you donot find php.ini file, you may ask from me. I can provide you php.ini, you just need to edit it, save it and than upload it to your root directory. I hope, it will work.
Hi, muzaffar! Please send me php.ini file, i will try with the same server, at least there some code confusion need to be done. Please send me that code file to: Thanks! I've added a rep for you too!
Some Hosts have their upload_max_filesize set by default So even if you change in your own php.ini it won't take any affect Confirm this before doing corrections with your Hosting Company Support!
have you tried using the PHP Function to override it? http://php.net/manual/en/function.isset.php and remember, the time it takes to upload.. or you can do something like this php_value upload_max_filesize **M php_value post_max_size **M php_value max_execution_time *** php_value max_input_time *** You can set those to whatever you feel is needed. ISSET those too. if you need a new host.. pm me
Hi, RoopaJyothi, I think you said that right, I'm gonna contact them at least i would know how is it possible to maximize size limit. Thank you Swiftmad, I already tried this but it didnt work! Rep added to both of you.
Find your php.ini file, then find the 2MB location and change that to w/e amount you want. Restart your server and you're set.