无法缓存模板,并且由于此通知会变慢

时间:2018-09-05 11:01:52

标签: macos phpmyadmin xampp

最近购买了装有macOS Sierra的Macbook Pro,并安装了XAMPP版本7.0.31。

打开MYSQL,ProFTPD和Apache Web服务器后,打开phpmyadmin时发现了一些东西。

下面说了一个错误:

The $cfg['TempDir'] (./tmp/) is not accessible. phpMyAdmin is not able to cache templates and will be slow because of this.

1 个答案:

答案 0 :(得分:5)

Probably, do you get an error like this?

解决过程:

  • 首先,停止xampp服务; /opt/lampp/lampp stop

  • 然后,转到phymyadmin的安装总监,然后找到其“ config.inc.php”文件,然后添加$cfg['TempDir'] = '/tmp'; like this

  • 最后,启动xampp服务/opt/lampp/lampp start