There's been an issue trying to use task scheduling in a shared hosting, receivng the error:
The Process class relies on proc_open, which is not available on your PHP installation
I read in a laravel's github issue about it. It states that It is because of Flare error reporting service enabled in debug mode, and propose the following workaround:
Publish flare config file
php artisan vendor:publish --tag=flare-config
and in config/flare.php
Set
'collect_git_information' => false
'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,
],
It looks like it worked for a lotta people, but not for me.
Then there was someone adding to clear cache, or clearing Bootstrap folder, or memory issues or other things triggering a proc_open error.
My question is if task scheduling in Laravel needs proc_open or it can be sorted out in some other way if you are in a shared hosting (hosting companies will always refuse to change that setting in a shared hosting)