Laravel 5.2: the Process Class Relies on Proc_Open, Which Is Not Available on Your PHP Installation

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

  1. Upgrade project from Laravel 5.2 to 5.4
  2. On CPanel using "Select Php version" set PHP version to 7
  3. 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

  1. Upgrade project from Laravel 5.2 to 5.4
  2. On CPanel using "Select Php version" set PHP version to 7
  3. Or on CPanel using "MultiPHP Manager" set PHP version to ea-php70

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



Related Topics



Leave a reply



Submit