magento的var目录内容跑到/tmp/magento/var下解决



magento的var目录内容跑到/tmp/magento/var下解决.

Magento cache in /tmp/magento instead of {{base_dir}}/var
Magento will use the system temp directory (default /tmp on many linux/unix systems) if it cannot write to {{base_dir}}/var. Make sure your web server user has write access to {{base_dir}}/var to avoid this.

Comments are closed.
很简单, 是因为对应的目录下的var目录,php运行程序没有权限