• 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
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

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