Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation
After many weeks of trying to resolve this error. The following fixes worked
- Upgrade project from Laravel 5.2 to 5.4
- On CPanel using "Select Php version" set PHP version to 7
- Or on CPanel using "MultiPHP Manager" set PHP version to ea-php70
Now, cron job runs smoothly. I hope this helps someone.
proc_open error when try to run artisan dump-autoload
It seems that the proc_open
is disabled in your php.ini. Usually for security reason.
To be sure search the disable_functions
directive in your php.ini and find out if proc_open
is in that list. Or try with function_exists('proc_open')
, this should return FALSE
Possible duplicate: laravel4 composer install got proc_open not available error
Laravel 5.2: The Process class relies on proc_open, which is not available on your PHP installation
After many weeks of trying to resolve this error. The following fixes worked
- Upgrade project from Laravel 5.2 to 5.4
- On CPanel using "Select Php version" set PHP version to 7
- Or on CPanel using "MultiPHP Manager" set PHP version to ea-php70
Now, cron job runs smoothly. I hope this helps someone.
Related Topics
.Htaccess Redirect Non-Www to Www Preserving Uri String
How to Measure the Strength of a Password
How to Get Random Image from Directory Using PHP
Safe Alternatives to PHP Globals (Good Coding Practices)
Query MySQL and Export Data as CSV in PHP
How to Send Email from Local Wamp Server Using PHP
What's the Best Way to Localise a Date on Laravel
Can't Insert Russian Text into MySQL Database
How to Run Matlab Code for Isolated Spoken Words Recognition from PHP
How to Get User Image with Twitter API 1.1
Curl File Uploads Not Working Anymore After Upgrade from PHP 5.5 to 5.6
Replace Add to Cart Button with a Read More Linked to Product Page on Shop Pages in Woocommerce 3
Navigate Back with PHP Form Submission
How to Use PHP In_Array with Associative Array
How to Convert Float Value to Integer in PHP
Which Is the Best Character Encoding for Japanese Language for Db, PHP, and HTML Display