cakephp2.xをダウンロードして
Apacheのドキュメントルートである
Library/WebServer/Documents
にcakephpフォルダを移動させました。
Library/WebServer/Documents/cakephp
という形です。
この状態でapacheをターミナルで起動して
http://localhost/cakephp
にアクセスすると以下のエラーが起きました。
これらの解決方法をご教授いただきたいです。
Warning: strtotime(): It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /Library/WebServer/Documents/cakephp/lib/Cake/Cache/CacheEngine.php on line 60
Warning: cake_core cache was unable to write 'cake_dev_ja' to File cache in /Library/WebServer/Documents/cakephp/lib/Cake/Cache/Cache.php on line 328
Warning: /Library/WebServer/Documents/cakephp/app/tmp/cache/persistent/ is not writable in /Library/WebServer/Documents/cakephp/lib/Cake/Cache/Engine/FileEngine.php on line 385
Fatal error: Uncaught exception 'CacheException' with message 'Cache engine "cake_core" is not properly configured. Ensure required extensions are installed, and credentials/permissions are correct' in /Library/WebServer/Documents/cakephp/lib/Cake/Cache/Cache.php:186 Stack trace: #0 /Library/WebServer/Documents/cakephp/lib/Cake/Cache/Cache.php(151): Cache::_buildEngine('cake_core') #1 /Library/WebServer/Documents/cakephp/app/Config/core.php(377): Cache::config('cake_core', Array) #2 /Library/WebServer/Documents/cakephp/lib/Cake/Core/Configure.php(72): include('/Library/WebSer...') #3 /Library/WebServer/Documents/cakephp/lib/Cake/bootstrap.php(432): Configure::bootstrap(true) #4 /Library/WebServer/Documents/cakephp/app/webroot/index.php(98): include('/Library/WebSer...') #5 /Library/WebServer/Documents/cakephp/index.php(41): require('/Library/WebSer...') #6 {main} thrown in /Library/WebServer/Documents/cakephp/lib/Cake/Cache/Cache.php on line 186
初心者ですがよろしくお願いします。
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。
2017/03/21 07:39
2017/03/21 07:50
2017/03/21 08:09