我有一個在nginx上運行的CakePHP應用程序。不幸的是,它給出了一個錯誤,我發現它很難調試,因爲它的模糊性由於nginx錯誤無法執行cakephp編輯
2014/12/21 16:29:01 [crit] 6451#0: *5 open() "/var/lib/nginx/tmp/client_body/0000000002" failed (13: Permission denied), client: 220.255.1.150, server: localhost, request: "POST /announcements/edit/60004 HTTP/1.1", host: "tmkr-cms.gumi.sg", referrer: "http://tmkr-cms.gumi.sg/announcements/edit/60004"
任何想法如何解決這個問題?
它說nginx不能訪問'/ var/lib/nginx/tmp/client_body/0000000002'目錄。檢查nginx用戶對每個目錄的訪問權限是否高達'000 ... 2' –
你正在討論哪個目錄? –