故需另外開啟後才能正常進入頁面。
// 需為伺服器使用者的身份有寫入權限
CHOWN nginx:nginx storage
// 開啟SELinux資料夾讀寫權限
chcon -r -t httpd_sys_rw_content_t storage
// 需為伺服器使用者的身份有寫入權限
CHOWN nginx:nginx storage
// 開啟SELinux資料夾讀寫權限
chcon -r -t httpd_sys_rw_content_t storage
systemctl restart php-fpm
[root@ip-QAQ ~]# systemctl | grep "fpm"
php70-php-fpm.service loaded active running The PHP FastCGI Process Manager
systemctl | grep "fpm" | awk '{print "systemctl restart " $1 | " bash "}'