Re: problem installing CakePHP on Linux
| From: | Peet Grobler | Date: | Sun, 07 Aug 2011 08:17:48 +0000 |
| Subject: | Re: problem installing CakePHP on Linux | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-314409@lists.php.net to get a copy of this message | ||
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.