Ubuntu 20 - Install Swoole PHP
Steps
Install PHP 8.0 through Ondrej's PPA.
Run the following to install and enable Swoole PHP.
sudo apt update \
&& sudo apt install php-swoole -y \
&& sudo phpenmod swoole
Check Version
You can check the swoole version you have installed by running:
php -r 'echo SWOOLE_VERSION . PHP_EOL;'
References
- Swoole.co.uk - How to Install Swoole
- ProgrammerSought.com - Get the swoole version number and view the swoole version
Last updated: 26th June 2021
First published: 26th June 2021
First published: 26th June 2021