• We value your experience with Plesk during 2026
    Please help us understand which Plesk features made your work easier this year, what is still missing and how AI should help you in Plesk ?
    Take this short 5-minutes survey. Your answers go straight into the Plesk roadmap for 2027.

Resolved phpMyAdmin error "The $cfg['TempDir'] (/opt/psa/var/phpMyAdmin) is not accessible."

Baltasar

New Pleskian
I tried almost everything like giving 777 to the directory, create tmp directory on /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/ but I couldn't get rid of this problem.

The full message showing in the home page of phpMyAdmin is this:

The $cfg['TempDir'] (/opt/psa/var/phpMyAdmin) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.

I search almost every where for solutions but none so far, any help to solve this?
Thanks.
 
The sooner I post this the sooner I solve it. :)
I just did a bit more strong digging and eureka.

I just created this missing file /opt/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php with this content:

PHP:
<?php
$cfg['TempDir'] = '/tmp';

;)
 
Back
Top