安装PHP

sudo apt install php7.3-cli

验证安装

php -v
PHP 7.3.19-1~deb10u1 (cli) (built: Jul  5 2020 06:46:45) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.19, Copyright (c) 1998-2018 Zend Technologies
    with Zend OPcache v7.3.19-1~deb10u1, Copyright (c) 1999-2018, by Zend Technologies

安装pear

sudo apt install php-pear

安装php开发工具包

sudo apt install php-dev

安装swoole

sudo pecl install swoole

标签: none

添加新评论