• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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