• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

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