I’m developing a Cakephp medium size application since four month. Previous it was deployed on windows server where it was working perfect. Now it is required to deploy on Ubuntu server. I made a folder project on root and I’ve checkout code according to following
/project
/app
/build
/vendor
/plugin
This is my configuration detail
Ubuntu 13.10
PHP Version 5.5.3
Msql API version 5.5.34
This is mu apache configuration etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:80>
<Directory />
Options Indexes FollowSymLinks
AllowOverride All
</Directory>
ServerAdmin [email protected]
DocumentRoot /var/www
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost >
Apache mode_rewrite is on and read write access is given to entire project folder .It seems like it is apache issue.
It is displaying project directory when I hit the server and when i click on project, it gives me errors/warningFatal
Warning: _cake_core_ cache was unable to write 'cake_dev_en-us' to File cache in /var/www/project/lib/Cake/Cache/Cache.php on line 310
Warning: /var/www/project/app/tmp/cache/persistent/ is not writable in /var/www/project/lib/Cake/Cache/Engine/FileEngine.php on line 337
Fatal error: Uncaught exception 'CacheException' with message 'Cache engine _cake_core_ is not properly configured.' in /var/www/project/lib/Cake/Cache/Cache.php:166 Stack trace: #0 /var/www/project/lib/Cake/Cache/Cache.php(136): Cache::_buildEngine('_cake_core_') #1 /var/www/project/app/Config/core.php(336): Cache::config('_cake_core_', Array) #2 /var/www/project/lib/Cake/Core/Configure.php(78): include('/var/www/projec...') #3 /var/www/project/lib/Cake/bootstrap.php(171): Configure::bootstrap(true) #4 /var/www/project/app/webroot/index.php(96): include('/var/www/projec...') #5 /var/www/project/index.php(43): require('/var/www/projec...') #6 {main} thrown in /var/www/project/lib/Cake/Cache/Cache.php on line 166
Please assist