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

      <bdo id='V1d7G'></bdo><ul id='V1d7G'></ul>

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

      1. Laravel 5.2:Process 类依赖于 proc_open,这在您的 PHP 安装中不可用

        Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation(Laravel 5.2:Process 类依赖于 proc_open,这在您的 PHP 安装中不可用)

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

            <tbody id='DVk3t'></tbody>
            <bdo id='DVk3t'></bdo><ul id='DVk3t'></ul>

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

                  本文介绍了Laravel 5.2:Process 类依赖于 proc_open,这在您的 PHP 安装中不可用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我使用 cron 作业使用 laravel 任务调度来做一些 CRUD 操作.在 localhost 和我的 Share-Hosting 服务器上,它工作了好几个月,直到最近我在我的 Share-Hosting 服务器上运行 cron 作业时不断收到此错误.我没有对共享托管服务器上的代码进行任何更改.

                  I use cron job to do some CRUD operation using laravel Task Scheduling. On localhost and on my Share-Hosting server it worked fine for months until recently I keep getting this error when I run cron job on my Share-Hosting server. I did not make any changes to the code on my Share-Hosting server.

                  [2017-07-14 09:16:02] production.ERROR: exception 'SymfonyComponentProcessExceptionRuntimeException' with message 'The Process class relies on proc_open, which is not available on your PHP installation.' in /home/xxx/xx/vendor/symfony/process/Process.php:144
                  Stack trace:
                  

                  但是在本地主机上它工作正常.根据我在网上的发现,我尝试了以下方法.

                  But on localhost it works fine. Based on my finding online I have tried the following.

                  1. 联系我的托管公司删除 proc_open 表单禁用 PHP 功能.
                  2. 托管公司提供了自定义 php.ini 文件.我删除了所有 disable_functions
                  3. 共享托管服务器已重新启动并清除缓存

                  这些都没有解决问题.我不确定接下来要尝试什么,因为同一个项目在不同的共享托管服务器上运行良好.

                  None of this fixed the issue. I am not sure of what next to try because the same project works fine on different Share-Hosting Server.

                  推荐答案

                  经过数周的尝试解决此错误.以下修复有效

                  After many weeks of trying to resolve this error. The following fixes worked

                  1. 将项目从 Laravel 5.2 升级到 5.4
                  2. 在 CPanel 上使用选择 PHP 版本"将 PHP 版本设置为 7
                  3. 或者在 CPanel 上使用MultiPHP Manager"将 PHP 版本设置为 ea-php70

                  现在,cron 作业运行顺利.我希望这对某人有所帮助.

                  Now, cron job runs smoothly. I hope this helps someone.

                  这篇关于Laravel 5.2:Process 类依赖于 proc_open,这在您的 PHP 安装中不可用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

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

                  相关文档推荐

                  Is PHP or PHP based web framework stateful or stateless?(PHP 或基于 PHP 的 Web 框架是有状态的还是无状态的?)
                  How to parse django style template tags(如何解析 django 样式模板标签)
                  What is a good setup for editing PHP in Emacs?(在 Emacs 中编辑 PHP 的好设置是什么?)
                  How to check whether specified PID is currently running without invoking ps from PHP?(如何在不从 PHP 调用 ps 的情况下检查指定的 PID 当前是否正在运行?)
                  What#39;s the difference between escapeshellarg and escapeshellcmd?(escapeshellarg 和escapeshellcmd 有什么区别?)
                  php in background exec() function(php 后台 exec() 函数)
                  <i id='vZ8eG'><tr id='vZ8eG'><dt id='vZ8eG'><q id='vZ8eG'><span id='vZ8eG'><b id='vZ8eG'><form id='vZ8eG'><ins id='vZ8eG'></ins><ul id='vZ8eG'></ul><sub id='vZ8eG'></sub></form><legend id='vZ8eG'></legend><bdo id='vZ8eG'><pre id='vZ8eG'><center id='vZ8eG'></center></pre></bdo></b><th id='vZ8eG'></th></span></q></dt></tr></i><div id='vZ8eG'><tfoot id='vZ8eG'></tfoot><dl id='vZ8eG'><fieldset id='vZ8eG'></fieldset></dl></div>

                    • <legend id='vZ8eG'><style id='vZ8eG'><dir id='vZ8eG'><q id='vZ8eG'></q></dir></style></legend>
                      • <bdo id='vZ8eG'></bdo><ul id='vZ8eG'></ul>
                          <tbody id='vZ8eG'></tbody>
                        <tfoot id='vZ8eG'></tfoot>

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