Cakephp Cake command returns No such file or directory

后端 未结 5 1052

I have been using the cake command on my linux server for 2 years. but now im trying to move to a new server and some how the cake command gives back the error: No such file or

5条回答
  •  栀梦
    栀梦 (楼主)
    2021-02-10 10:03

    I found the solution: All I had to do is use the program dos2unix the cake file for CakePHP 2.4.2 has wrong endings when you download it with Ubuntu 13.10

    I used the following command:

    sudo dos2unix /path/to/cake/lib/Cake/Console/cake
    

提交回复
热议问题