Cakephp Cake命令不返回此类文件或目录 [英] Cakephp Cake command returns No such file or directory

查看:300
本文介绍了Cakephp Cake命令不返回此类文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经在我的linux服务器上使用cake命令2年了。但现在我试图移动到一个新的服务器和一些如何cake命令回馈错误:没有这样的文件或目录

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 directory

即使我给整个路径蛋糕命令文件chmod 777 it stil wont work。

even if i give the entire path to the cake command file chmod 777 it stil wont work.

推荐答案

我找到了解决方案:我所要做的是使用dos2unix CakePHP 2.4.2的蛋糕文件在使用Ubuntu 13.10下载时出现错误的结尾

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

我使用了以下命令:

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

这篇关于Cakephp Cake命令不返回此类文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆