使用环境
环境:centos6.5
php版本:php5.6
显示的错误
FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught exception ‘RuntimeException’ with message ‘Couldn’t lock the file :/tmp/bbc-filesystem-base_syscache_setting-cache-0d70f3b95406e77fa9d1c01fbe240485-1567046096’ in /mnt/hgfs/my/app/base/lib/syscache/adapter/filesystem.php:64
原因
某个文件没有使用权限
解决方法
给文件授予拥有者
chown www:www /tmp/bbc-filesystem-base_syscache_setting-cache-0d70f3b95406e77fa9d1c01fbe240485-1567046096
注:www为php-fpm使用的用户