yii php framework “Application runtime path is not valid.” exception

前端 未结 9 1416
旧巷少年郎
旧巷少年郎 2021-02-05 17:03

I tried to make a yii project for testing by executing

/var/www/html/yii/framework/yiic webapp demo

and when I go to localhost/demo I get en er

9条回答
  •  天命终不由人
    2021-02-05 17:41

    You have entered a wrong syntax for the chmod command. Try this:

    sudo chmod -R 777 ./var/www/*
    

    Enter a password when you will be prompt.

    Important notice:

    The asterisk at the end of command line is very important. It means all files in the current directory.

提交回复
热议问题