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/

Categorized as Server

By Sharon

Hello there! I'm a web developer in Louisville, Kentucky. I started on this career path by purchasing an O’Reilly PHP book from Barnes & Noble in 1999. Since then, my desire to learn as much as I can about web site building and server maintenance has grown. I love technology and what it can do to simplify our lives and make it more interesting all at the same time. Seeing a creative design come to life and bringing it into the web world is my favorite puzzle to solve. My server experience is based around launching WordPress-friendly servers — Linux (Ubuntu and Centos flavors), Apache, MySQL, and PHP. I have worked with various modules, extensions, installs such as ImageMagick, LetsEncrypt, Sass, LESS, and the Homebrew family of extension. My main love has been with PHP, and my CMS of choice has been WordPress since its inception in 2003. I find it flexible, secure, easy to design around, and so customizable. My strengths are in developing from-scratch plugins and themes for the WordPress CMS with a strong background in PHP and MySQL development.

Leave a comment

Your email address will not be published.