HestiaCP - Debian 10 - ошибка - The $cfg - 'TempDir' - (/var/lib/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.: различия между версиями
Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2023
Admin iph (обсуждение | вклад) (Новая страница: «=== HestiaCP - Debian 10 - ошибка - The $cfg - 'TempDir' - (/var/lib/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will …») |
Admin iph (обсуждение | вклад) |
||
Строка 9: | Строка 9: | ||
# vi /etc/phpmyadmin/config.inc.php | # vi /etc/phpmyadmin/config.inc.php | ||
$cfg['TempDir'] = '/tmp'; | $cfg['TempDir'] = '/tmp'; | ||
+ | |||
+ | |||
+ | Сохраняем файл и проверяем, ошибка пропадает сразу. |
Текущая версия на 20:26, 29 мая 2020
HestiaCP - Debian 10 - ошибка - The $cfg - 'TempDir' - (/var/lib/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.
Ошибка в phpmyadmin:
The $cfg - 'TempDir' - (/var/lib/phpmyadmin/tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.
или
$Cfg['TempDir'] (/var/lib/phpmyadmin/tmp/) недоступен. Из-за этого phpMyAdmin не может кэшировать шаблоны и будет медленным.
означает, что в конфиге /etc/phpmyadmin/config.inc.php не прописан корректный путь к tmp папке phpmyadmin. Добавляем в конфиг $cfg['TempDir']:
# vi /etc/phpmyadmin/config.inc.php $cfg['TempDir'] = '/tmp';
Сохраняем файл и проверяем, ошибка пропадает сразу.