Detail description about this issue(error/log):
Fresh Laravel 9 install and OpenSwoole install with PECL and enabled via phpenmod, following install instructions from readme, then run php bin/laravels start, won't start and gives error:
Editing SWOOLE_VERSION to be swoole_version() makes it start fine initially. But obviously, this constant is used in a lot of places, and so it crashes later on instead.
Software version (Screenshot of your startup):
Detail description about this issue(error/log): Fresh Laravel 9 install and OpenSwoole install with PECL and enabled via phpenmod, following install instructions from readme, then run
php bin/laravels start
, won't start and gives error:Editing
SWOOLE_VERSION
to beswoole_version()
makes it start fine initially. But obviously, this constant is used in a lot of places, and so it crashes later on instead.