我使用cron job来使用laravel Task Scheduling进行一些CRUD操作.在localhost和我的Share-Hosting服务器上,它运行良好数月,直到最近我在我的Share-Hosting服务器上运行cron作业时仍然遇到此错误.我没有对我的Share-Hosting服务器上的代码进行任何更改.
[2017-07-14 09:16:02] production.ERROR: exception 'Symfony\Component\Process\Exception\RuntimeException' 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:
Run Code Online (Sandbox Code Playgroud)
但是在localhost上运行正常.根据我在网上的发现,我尝试了以下内容.
这些都没有解决这个问题.我不确定接下来会尝试什么,因为相同的项目在不同的Share-Hosting Server上运行良好.