linux下执行php文件Could not open input file的解决办法
2016-09-02 20:19
801 查看
在linux下通过svn更新了一个php文件,目的是想通过执行这个文件来读数据插入到数据库。在其中的几台执行没有问题,其中一台就发现了Could not open input file这个错误,后来查找资料才发现原来是文件格式的问题,出错时文件格式是dos,可以在vi中用:set ff来查看,如果是dos格式,那么则用:set ff=unix来设置新的格式,这样就没问题了。
相关文章推荐
- linux下执行php文件发现Could not open input file
- Linux下Shell脚本执行PHP报错:Could not open input file
- php文件上传 [function.move-uploaded-file]: failed to open stream 错误解决办法
- Linux系统Vsftp 传文件出现 553 Could Not Create File错误的解决方法
- PHP4和PHP5共存的环境(主力为PHP4)中PHP5在命令行跑PHP文件中遇到No input file specified.错误解决办法
- Could not open lock file/var/lib/dpkg/lock的解决办法
- linux之安装软件出现Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)解决总结
- Linux执行.sh文件时提示No such file or directory该怎么办(三种解决办法)
- ADS编译错误Error: Fatal L6002U:Could not open file:.....解决办法
- Windows7安装 nginx+php 后访问.php文件出现 “No input file specified.” 的解决办法
- Could not open input file(linux crontab)(进程检测)
- SVN Could not open the requested SVN filesystem解决办法
- linux之安装软件出现Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)解决总结
- ads 编译时出现(Fatal)L6002U:Could not open file 的解决办法
- C#操作Lotus notes .nsf文件时弹出“notes error: can not open the id file”的解决办法
- 解决linux下chrome NVIDIA: could not open the device file /dev/nvidia0 Operation not permitted 问题
- Linux执行可执行文件提示No such file or directory的解决办法
- Linux执行.sh文件时提示No such file or directory该怎么办(三种解决办法)
- 关于OpenSUSE安装HLA编译时,提示:Could not open include file "stdlib.hhf" 的解决办法之一
- Linux操作提示:“Cant open file for writing”或“operation not permitted”的解决办法