How to use Horizon without PCNTL extension in windows
-
HI
I am not able to use horizon it gives me error while installing horizon- The requested PHP extension ext-pcntl * is missing from your system. Install or enable PHP's pcntl extension
How to overcome this ?
Thanks
-
@john5db : pcntl is not supported on Windows. I'm thinking about making one for Windows...
-
Thanks,
You are Genius ..Waiting for this.
-
@john5db :
I've built the pcntl exension to work with PHP 7.1 64-bit on Windows. The extension is compatible with Unix pcntl api, but
is not functional yet
as it will take much time to convert Unix's signals to Windows procees model.
However, you can add it to your PHP's extension to overcome the extension-missing stopper.Download:
-
Thread Safe - your PHP's version doesn't have
-nts-
:
php_pcntl-0.1-7.1-ts-vc14-x64.zip -
Non Thread Safe:
php_pcntl-0.1-7.1-nts-vc14-x64.zip
-
-
@john5db : I've made a topic of how to install Horizon:
https://forum.laragon.org/topic/594/tutorial-how-to-install-laravel-5-5-dev-develop-laravel-horizon
-
@leokhoa After putting in your pcntl extension i now get this:
Problem 1
- Installation request for laravel/horizon ^1.2 -> satisfiable by laravel/horizon[v1.2.0].
- laravel/horizon v1.2.0 requires ext-posix * -> the requested PHP extension posix is missing from your system.Any idea how to get past this as this is yet another php extension not provided for windows
-
@bgarrison25 btw i got around this but now when i run php artisan horizon i just get this over and over:
'exec' is not recognized as an internal or external command,
operable program or batch file.
-
@bgarrison25 : Horizon uses things not fully supported on Windows. I decided to not support it any more.