-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error while installing Horizon on windows #78
Comments
Can we use pthreads https://github.com/krakjoe/pthreads instead of pcntl pthreads supports windows ,mac,linux |
Sorry no plans for this at the moment :) I suggest that you use something like Laravel Homestead and run a virtual machine where you can use Ubuntu. |
@john5db The very talented developer of Laragon has ported the extension (more or less, it's still experimental at this point) to windows, you can get it here: https://forum.laragon.org/topic/593/how-to-add-pcntl-extension-windows |
Latest release 1.0.5 have a new windows issue making it impossible to install. Now, on 1.0.5, I'm missing the
I'm running PHP 7.1.9, but PHP posix seems unavailable for Windows. |
@themsaid you are right, but what if I'm using Homestead already. |
if you just developing on windows and deploying on linux use --ignore-platform-reqs with your composer command, this will still install horizon you still see the dashboard but its useless on windows. |
Instead using 'php artisan horizon', try: php artisan queue:listen --queue=default,mongodb,special where default,mongodb,special are your queue names - put all of them |
Check #154 composer require laravel/horizon --ignore-platform-reqs php artisan vendor:publish --provider="Laravel\Horizon\HorizonServiceProvider" |
So there are still no workarounds with laravel 10 for windows 11? |
To run Horizon on Windows 11, the easiest and most recommended method is to utilize Windows Subsystem for Linux (WSL). Assuming you're working with Laravel 11, follow these straightforward steps:
|
Hi,
When i try to install Horizon on windows dev machine it gives following error
But pcntl is not available for windows
How to install without pcntl.
The text was updated successfully, but these errors were encountered: