PhpMyAdmin "Failed to install the directory that you installed to download"

I upload a 24 MB file and follow the instructions to configure the download directory for phpmyadmin using $ cfg ['UploadDir'] . Unfortunately, it does not work.

I created a folder inside my phpMyAdmin folder named 'upload'.

In my config.inc.php, I set the following:

$cfg['UploadDir'] = 'upload';

This config was a master created by PMA.

I also tried:

$cfg['UploadDir'] = './upload';
$cfg['UploadDir'] = '/absolute_php_my_admin_address/upload';

I also tried all of these options with a trailing "/" at the end.

I found many threads on the Internet with a specific problem. My download folder has the same permissions and ownership as the parent PMA directory. I also do not work in safe mode.

Have you encountered this problem and solved it? Launch PMA 3.5.2 on Redhat 5.

+7
6

, , Google. , :

Debian Ubuntu . phpmyadmin.

Ubuntu "/etc/phpmyadmin/" ( ).

, config :

$cfg['UploadDir'] = '/etc/phpmyadmin/';
+20

upload_max_filesize php.ini. 2M, , > 2M, . ( SQL .) upload_max_filesize (< 20M) php.ini -.

, UploadDir . Linux , : chmod a + w upload

+2

, , HostGator, root, Putty.exe. ,

/usr/local/cpanel/base/3rdparty/phpMyAdmin/config.inc.php

$cfg['UploadDir'] = '';

$cfg['UploadDir'] = '/home/rootnameofwebsite/public_html/createAFolderHere';

. , .dbf. . .sql, .

+2

, "php_admin_value open_basedir" apache.conf, , config.inc.php( , Ubuntu) - apache config dir

+1

, , . , , , , centOS. , . : "/etc/ phpmyadmin/"

"etc/php MyAdmin/"

+1

, , config.inc.php :

/*
 * Directories for saving/loading files from server
 */
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';

If so, delete them.

+1
source

All Articles