seth-shi / easy-extends

一个简单快速安装PHP扩展的程序--最简单的方法就是使用Linux
77 stars 7 forks source link
composer extends memcache monogame php redis

# easy-extends

Travis CI StyleCI Total Downloads License

About

+--------------+                    +----------------+            +------------+
| open service | php install redis  | down redis.dll | php index  |    show    |
|  lamp/lnmp   |------------------> | move redis.dll | ---------> | extensions |
| environment  |                    | update php.ini |            |    list    |
+--------------+                    +----------------+            +------------+

下载redis

Requirement

  1. PHP >= 5.3

Installation

easy-extends压缩包

// 手动下载
github 的 Clone or download 按钮 -> download zip 即可下载压缩包

// composer安装
composer require davidnineroc/easy-extends

Usage

// 使用格式
php install xxxx

// 安装 redis 扩展
php install redis
// 安装好了之后,查看开启的扩展
php index

// 如果写入失败, 请回滚 php.ini 文件
php install rollback

Support

Errors