On 8/7/2011 9:53 AM, Negin Nickparsa wrote:
> Hello List
> 
> I want to use Cake PHP ,I have downloaded it from it's site,rename the
> folder to first_app
> and copied it to
> /srv/www/htdocs
> 
> my root is here:
> 
> /srv/www/htdocs
> 
> by entering http://localhost/first_app/
> 
> it has some errors like these outputs:
> 
> Warning: _cake_core_ cache was unable to write 'default_en-us' to cache in
> /srv/www/htdocs/first_app/cake/libs/cache.php on line 295 Warning:
> _cake_core_ cache was unable to write 'default_en-us' to cache in
> /srv/www/htdocs/first_app/cake/libs/cache.php on line 295 Warning:
> /srv/www/htdocs/first_app/app/tmp/cache/persistent/ is not writable in
> /srv/www/htdocs/first_app/cake/libs/cache/file.php on line 299 Warning:
> /srv/www/htdocs/first_app/app/tmp/cache/models/ is not writable in
> /srv/www/htdocs/first_app/cake/libs/cache/file.php on line 299

Try
$ chown -R www-data:www-data /srv/www/htdocs/first_app

Replace www-data:www-data with what is appropriate on your system.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to