Problem with Max upload size

ighost

Verified User
Joined
May 20, 2013
Messages
20
Hello,
I've just purchased a new VPS with DirectAdmin and I need to switch all the files of my website to the new VPS, with DIrectAdmin.
I've a couple of databases and one of them is over the 80MiB, I tried to import it with PHPMyAdmin but it says that 9KiB is the max upload size. I've already changed the maximum upload size in the php.ini and I've also changed the value in the DirectAdmin file, but the max file size in PHPMyAdmin doesn't change, what should I do?
 
I've done both and it doesn't change the maximum file size allowed in PHPMyAdmin.
 
Phpmyadmin would be settings in php.ini.

You are editing the wrong php.ini if it is not working.

80mb is way too big to run though phpmyadmin anyways. You should just upload the sql file with ftp and inject it through ssh with the mysql command.
 
Last edited:
I may have the wrong php.ini file I guess, where is the file located, is the path different when you use DirectAdmin?

And the problem with uploadng it via FTP is that I've no idea how to make the Database accessable for other virtual computers outsize the network if I upload the database via FTP and inject it via SSH.
 
I set mine through DirectAdmin/ file editor/ usr/local/lib/php.ini well it worked for me.
 
It appeared that I actually did change the right php.ini, yet I still can't upload more then 9KB at the time.
Are there any other things that might cause this?
 
it says that 9KiB is the max upload size

Will you show please a screenshot with that error message?

ighost said:
It appeared that I actually did change the right php.ini, yet I still can't upload more then 9KB at the time.
Are there any other things that might cause this?

What are settings:

Code:
cd /usr/local/directadmin/custombuild
./build options
?

and a link to a script with

PHP:
<?php
phpinfo();

would be great. For more true data, please put a phpinfo.php script into /var/www/html/phpmyadmin/ folder and post here or privately a link to it.
 
need to edit post_max_size in php.ini for phpmyadmin to allow larger
 
Back
Top