Closed gisostallenberg closed 10 months ago
Can you make a PR to add this? laravel/horizon
also has the same requirements so it should be fine to add this.
@crynobone I would rather see this new extension requirement being included for Octane v3 or something, so existing customers, you are developing Octane on windows for example can still leverage updates on 2.x.
Can you pull request it to master? Thanks! https://github.com/laravel/octane/tree/master
When this is implemented on master
, maybe we should document this simple workaround for users on Windows, which I already use to work on projects that have Horizon in them. Set COMPOSER_IGNORE_PLATFORM_REQ=ext-pcntl,ext-posix
, and then composer works (everything in the application works except actually running horizon, but that's not needed for development since queues can be run in other ways).
Octane Version
v2.2.6
Laravel Version
v10.31.0
PHP Version
8.1.26
What server type are you using?
FrankenPHP
Server Version
1.0.2
Database Driver & Version
No response
Description
Without
pcntl
you'd getI think octane should require ext-pcntl:*.
Steps To Reproduce
Install octane in an environment where the pcntl extension is not installed and run
php artisan octane:start