• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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