Ubuntu Pastebin

Paste from How to configure phpMyAdmin up at Wed, 20 Jan 2016 07:31:53 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
Here is what I did to get it fixed

Created upload and save directories

Code:

mkdir /etc/phpmyadmin/upload
mkdir /etc/phpmyadmin/save
chmod a+w /etc/phpmyadmin/upload
chmod a+w /etc/phpmyadmin/save

Edited phpmyadmin's config file
Code:

nano /etc/phpmyadmin/config.inc.php

Added the path for both upload and save directories
Code:

$cfg['UploadDir'] = '/etc/phpmyadmin/upload';
$cfg['SaveDir'] = '/etc/phpmyadmin/save';

Log out and relogin to phpmyadmin and that should do it.
In my case, I also edited php.ini to increase
Code:

post_max_size =
upload_max_filesize =

to suit my needs.

Then restarted php and nginx for new settings to take effect
Code:

 /etc/init.d/php5-fpm restart
service nginx restart
Download as text