<tfoot id='TXjZm'></tfoot>
      <i id='TXjZm'><tr id='TXjZm'><dt id='TXjZm'><q id='TXjZm'><span id='TXjZm'><b id='TXjZm'><form id='TXjZm'><ins id='TXjZm'></ins><ul id='TXjZm'></ul><sub id='TXjZm'></sub></form><legend id='TXjZm'></legend><bdo id='TXjZm'><pre id='TXjZm'><center id='TXjZm'></center></pre></bdo></b><th id='TXjZm'></th></span></q></dt></tr></i><div id='TXjZm'><tfoot id='TXjZm'></tfoot><dl id='TXjZm'><fieldset id='TXjZm'></fieldset></dl></div>
      <legend id='TXjZm'><style id='TXjZm'><dir id='TXjZm'><q id='TXjZm'></q></dir></style></legend>

      <small id='TXjZm'></small><noframes id='TXjZm'>

        • <bdo id='TXjZm'></bdo><ul id='TXjZm'></ul>

        Debian -/usr/bin/env: 'php ': 没有那个文件或目录

        Debian - /usr/bin/env: #39;php#39;: No such file or directory(Debian -/usr/bin/env: php: 没有那个文件或目录)
          <bdo id='U4gQR'></bdo><ul id='U4gQR'></ul>
            <tbody id='U4gQR'></tbody>

          1. <i id='U4gQR'><tr id='U4gQR'><dt id='U4gQR'><q id='U4gQR'><span id='U4gQR'><b id='U4gQR'><form id='U4gQR'><ins id='U4gQR'></ins><ul id='U4gQR'></ul><sub id='U4gQR'></sub></form><legend id='U4gQR'></legend><bdo id='U4gQR'><pre id='U4gQR'><center id='U4gQR'></center></pre></bdo></b><th id='U4gQR'></th></span></q></dt></tr></i><div id='U4gQR'><tfoot id='U4gQR'></tfoot><dl id='U4gQR'><fieldset id='U4gQR'></fieldset></dl></div>
            <legend id='U4gQR'><style id='U4gQR'><dir id='U4gQR'><q id='U4gQR'></q></dir></style></legend>
          2. <small id='U4gQR'></small><noframes id='U4gQR'>

              <tfoot id='U4gQR'></tfoot>

                  本文介绍了Debian -/usr/bin/env: 'php ': 没有那个文件或目录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  所以直接解决问题,当我运行 ./yii 时,我似乎从 Debian:stretch 那里得到了我从 Docker 运行的错误.

                  So go straight to the problem, when I run ./yii seems I got that error from Debian:stretch that I ran from Docker.

                  但是,当我运行 /usr/bin/env php -v 时,我得到了正确的输出并且没有问题.

                  However when I run /usr/bin/env php -v I got the correct output and there's no problem on it.

                  似乎在将新行翻译为字符串时出现问题,我不知道如何解决.

                  Seems there's a problem on new line being translated as string and I have no idea how to fix it.

                  对不起,如果我的英语有点乱,提前致谢.

                  Sorry if my English a bit messy and thanks in advance.

                  请注意:

                  • 我一直在尝试在 debian 中使用 nano 编辑该文件,但它没用.我遇到了同样的错误.
                  • 我检查了 /usr/bin/php 中的 php 文件,它同时存在 phpphp7.1
                  • 我也可以毫无问题地运行 php -v
                  • I've been trying to edit that file using nano within debian but it's useless. I'm getting the same error.
                  • I've check php file within /usr/bin/php and it's exist both php and php7.1
                  • I can run php -v without problem as well

                  推荐答案

                  您应该使用 UNIX 换行约定转换文件.

                  You should convert the file with UNIX new line convention.

                  您有一个 DOS 文件,它在 之前有一个额外的 字符,它被解释为命令中的一个字符.所以系统会检查程序php 而不是php,所以它失败了.

                  You have a DOS file, which has the extra character before , which is interpreted as a character in the command. So system will check the program php and not php, and so it fails.

                  tr -d '15' < original_file > converted_file
                  

                  应该做的工作(StackOverflow还有很多其他的方法和技巧)

                  should do the work (StackOverflow has many other methods and tricks)

                  这篇关于Debian -/usr/bin/env: 'php ': 没有那个文件或目录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                  PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                  mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                  Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                  Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                  Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)

                    <bdo id='We5IB'></bdo><ul id='We5IB'></ul>
                  • <small id='We5IB'></small><noframes id='We5IB'>

                      <legend id='We5IB'><style id='We5IB'><dir id='We5IB'><q id='We5IB'></q></dir></style></legend>
                        <tbody id='We5IB'></tbody>

                      1. <i id='We5IB'><tr id='We5IB'><dt id='We5IB'><q id='We5IB'><span id='We5IB'><b id='We5IB'><form id='We5IB'><ins id='We5IB'></ins><ul id='We5IB'></ul><sub id='We5IB'></sub></form><legend id='We5IB'></legend><bdo id='We5IB'><pre id='We5IB'><center id='We5IB'></center></pre></bdo></b><th id='We5IB'></th></span></q></dt></tr></i><div id='We5IB'><tfoot id='We5IB'></tfoot><dl id='We5IB'><fieldset id='We5IB'></fieldset></dl></div>
                          <tfoot id='We5IB'></tfoot>