Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation

前端 未结 6 2102
慢半拍i
慢半拍i 2020-12-03 11:52

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 t

6条回答
  •  Happy的楠姐
    2020-12-03 12:31

    When Flare error reporting service enabled in debug mode you'll see this error

    The solution is:

    Publish flare config file

    php artisan vendor:publish --tag=flare-config
    

    in config/flare.php Set:

    'reporting' => [
            'anonymize_ips' => true,
            'collect_git_information' => false,
            'report_queries' => true,
            'maximum_number_of_collected_queries' => 200,
            'report_query_bindings' => true,
            'report_view_data' => true,
        ],
    
    
    
    'send_logs_as_events' => false,
    

提交回复
热议问题