爆款云服务器低至4折,1核1G¥366/

使用 composer create-project swoft/swoft swoft 创建项目时,出现错误:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested PHP extension ext-redis * is missing from your system. Install or enable PHP's redis extension.

解决方法:

yum install -y php-redis

标签: CentOS, PHP