Errors with phpMyAdmin

The $cfg’TempDir’ is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.

This message pops up if there is no directory called ‘tmp’ inside the location where phpmyadmin is installed (or if it has the wrong permissions). To fix this, do the following:

  1. Create the directory ‘tmp’ inside the location where phpmyadmin is installed.
  2. Give it the proper permissions so that the Apache user has access.

Below are the commands to use to correct the permissions:

sudo chown -R _www:_www tmp
sudo chmod -R g+w  tmp/

Leave a comment

Your email address will not be published. Required fields are marked *