InMotion Hosting Support Center

Cannot find php.ini / trying to upload larger backup file than 50Mb

Category: Cpanel

markomaja
Asked:
2014-05-17 11:54 am EST

Hits: 58
Dear sir/madam, I need to change settings in phpMyAdmin in order to upload larger backupfile. Currently I can only load 50Mb which is not enough. I have followed your instructions how to upload larger backup files on the server, but when I tried to locate php.ini in order to copy it to my subdomain folder, I found out that I cannot locate it.

Please help me!

Thanks

You must login before you can ask a follow up question.

You must login before you can submit an answer.

OTHER ANSWERS

0

cynthia_
2014-06-05 8:42 am EST
Hi,

Firstly, let me state that I'm not a member of the staff. I've a VPS via Inmotion Hosting, and I was in a similar situation.

I solved the upload procedure with the use of a .htaccess file.

---// example of .htaccess //----
<IfModule mod_php5.c>
php_flag short_open_tag Off
php_flag magic_quotes_gpc Off
php_flag magic_quotes_sybase Off
php_flag magic_quotes_runtime Off
php_flag register_globals Off
php_flag session.auto_start Off
php_flag suhosin.session.encrypt Off
php_value upload_max_filesize 50M
php_value post_max_size 100M
</IfModule>
---// example of .htaccess //----

I've uploaded the file to the root folder of my website.

I hope it helps a little....

TTFN
Cynthia

P.s. keep in mind that you've to create .htaccess with a program like notepad!


Disclaimer: always be cautious when working with. htaccess files, if you make a typo than your server will display an internal error message. If you encounter troubles, then simply delete the .htaccess file.






You must login before you can post a comment about this answer.

P.s. you can also use a third party program to access your database and create backup's, etc. I use dbForge studio.

You can find it here: http://www.devart.com/dbforge/mysql/studio/

cynthia_
16 Points
2014-06-05 8:49 am EST
0

John-Paul
Staff
14,825 Points
2014-06-05 9:16 am EST
Hello markomaja,

Thank you for your question. Here is a helpful link to our guide on how to Increase the Max File Upload size in PHP.INI.

If you do not have a default php.ini file, please contact Live Tech Support. They can copy the default php.ini for your server, to your account.

If you have any further questions, feel free to post them below.
Thank you,

-John-Paul

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Social Media Login

   
Social Login Joomla

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!
Ask a Question

Need more Help?

Search

Ask the Community!

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

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!