Facing a file permission error while running CakePHP in Ubuntu 10.4

后端 未结 6 1045
礼貌的吻别
礼貌的吻别 2020-12-08 11:12

I have installed CakePHP 2.0 framwork using steps below:

1. Start the terminal
2. sudo mkdir /var/www/cakephp
3.sudo cp -r ~/cakephp/* /var/www/cakephp
         


        
6条回答
  •  旧时难觅i
    2020-12-08 11:38

    Using chmod -R 777 /var/www/cakephp/app/tmp/ i.e. making folder execuatble will solve this issue. I even faced similar issue while testing cron i.e. shell which exists in app/Console/Command/ folder. When we execute a cron multiple time, tmp/ folder permission is overwritten and permission error will come in picture at this point which can be avoided by making tmp/ folder executable recursively.

提交回复
热议问题