Upon trying to establish a connection with phpMyAdmin Im getting the error:
The $cfg['TempDir'] (./tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.
I have looked on here at some solutions and I am still confused.
Do I need to create a new tmp folder within phpmyadmin
and make it executable. Does a tmp folder need to be nested in xamppfiles/share
How do I resolve this.
I was having this same issue on update to phpMyAdmin 4.8.0.1.
Without changing permissions or adding any folders, you should open your $PMA-DIR/config.inc.php
and edit the following section:
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
Add $cfg['TempDir'] = '/tmp';
to the file. I made mine look like this:
/*
* Directories for saving/loading files from server
*/
$cfg['UploadDir'] = '';
$cfg['SaveDir'] = '';
$cfg['TempDir'] = '/tmp';
If you already had this entry in your config.inc.php
then make sure that the entry is correct.
Refresh phpMyAdmin in the browser and the error should be cleared.
do mkdir tmp && chmod 777 tmp
inside your phpmyadmin dir
then update config.inc.php file add
$cfg['TempDir'] = 'tmp';
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With