0
我想上一個CentOS 7 VM上安裝LAMP CakePHP的,但得到這個錯誤。我不知道爲什麼我得到這個錯誤,我已經使app/tmp文件可寫。錯誤而在LAMP安裝CakePHP的(CentOS的7 VM)
Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /var/www/html/phtagr/cakephp/lib/Cake/Cache/Cache.php:181 Stack trace: #0 /var/www/html/phtagr/cakephp/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('_cake_core_') #1 /var/www/html/phtagr/Config/core.php(420): Cache::config('_cake_core_', Array) #2 /var/www/html/phtagr/cakephp/lib/Cake/Core/Configure.php(72): include('/var/www/html/p...') #3 /var/www/html/phtagr/cakephp/lib/Cake/bootstrap.php(177): Configure::bootstrap(true) #4 /var/www/html/phtagr/webroot/index.php(129): include('/var/www/html/p...') #5 /var/www/html/phtagr/index.php(25): require('/var/www/html/p...') #6 {main} thrown in /var/www/html/phtagr/cakephp/lib/Cake/Cache/Cache.php on line 181
我給了tmp和Logs 777的權限,甚至嘗試給整個項目文件夾提供777,但仍然gett錯誤。 – jarus
你必須遞歸設置權限@jarus PLZ嘗試一下 – tarikul05
喲試圖遞歸整個文件夾chmod -R 777 myProject – jarus