Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section Database Server
  • Search

The $cfg['TempDir'] (/tmp) is not accessible

Questions regarding the Database Server
MySQL, PostgreSQL, MariaDB, Percona Server, phpMyAdmin, phpPgAdmin
Post Reply
  • Print view
Advanced search
9 posts • Page 1 of 1
sufiyanshaikh
Posts: 11
Joined: Tue Sep 10, 2019 7:27 pm

Os: CentOS 6x
Web: apache + nginx
The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by sufiyanshaikh » Tue Sep 10, 2019 7:30 pm

Hello,

After installing vestacp, I am facing the below error in Phpmyadmin

Code: Select all

The $cfg['TempDir'] (/tmp) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.
How can I solve it?
I tried re-installing vestacp but still the same issue.
Server : ngnix+apache
OS : CentOS7
Top

sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

Os: CentOS 6x
Web: nginx + php-fpm
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by sysdop » Fri Sep 13, 2019 4:05 pm

Try

Code: Select all

chmod 7777 -R /tmp
Top

sufiyanshaikh
Posts: 11
Joined: Tue Sep 10, 2019 7:27 pm

Os: CentOS 6x
Web: apache + nginx
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by sufiyanshaikh » Sat Sep 14, 2019 10:24 am

sysdop wrote: ↑
Fri Sep 13, 2019 4:05 pm
Try

Code: Select all

chmod 7777 -R /tmp
It did not fix it
Top

sysdop
Posts: 88
Joined: Fri Dec 08, 2017 1:46 am
Contact:
Contact sysdop
Website Skype

Os: CentOS 6x
Web: nginx + php-fpm
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by sysdop » Sat Sep 14, 2019 5:23 pm

try

Code: Select all

chmod 7777 -R /var/lib/php/session
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by grayfolk » Sat Sep 14, 2019 6:05 pm

sysdop wrote: ↑
Sat Sep 14, 2019 5:23 pm
try

Code: Select all

chmod 7777 -R /var/lib/php/session
This is not related to problem.

Some ways to fix:

Code: Select all

chmod 777 /tmp
Or, change $cfg['TempDir'] to another folder - by default VestaCP installation used /var/lib/phpMyAdmin/temp
Top

sufiyanshaikh
Posts: 11
Joined: Tue Sep 10, 2019 7:27 pm

Os: CentOS 6x
Web: apache + nginx
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by sufiyanshaikh » Mon Sep 16, 2019 7:36 am

Am I only the one to face this issue or there are more who faced the same issue?
Top

grayfolk
Support team
Posts: 1111
Joined: Tue Jul 30, 2013 10:18 pm
Contact:
Contact grayfolk
Website Facebook Skype Twitter

Os: CentOS 6x
Web: nginx + php-fpm
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by grayfolk » Mon Sep 16, 2019 4:57 pm

sufiyanshaikh wrote: ↑
Mon Sep 16, 2019 7:36 am
Am I only the one to face this issue or there are more who faced the same issue?
This is not an error, just warning.
Did you try my solutions?
Top

sufiyanshaikh
Posts: 11
Joined: Tue Sep 10, 2019 7:27 pm

Os: CentOS 6x
Web: apache + nginx
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by sufiyanshaikh » Mon Sep 23, 2019 5:55 pm

Tried but it did not work
Top

Alex Connor
Support team
Posts: 1047
Joined: Fri Mar 21, 2014 7:49 am
Contact:
Contact Alex Connor
Website Twitter

Os: CentOS 6x
Web: apache + nginx
Re: The $cfg['TempDir'] (/tmp) is not accessible
  • Quote

Post by Alex Connor » Tue Sep 24, 2019 8:30 am

Try uncomment in file /etc/php.ini next line
Image
and then restart httpd
Top


Post Reply
  • Print view

9 posts • Page 1 of 1

Return to “Database Server”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password