davidnineroc/easy-extends

This package is abandoned and no longer maintained. No replacement package was suggested.

一个简单快速安装PHP扩展的程序

v1.1.2 2017-09-21 14:18 UTC

This package is not auto-updated.

Last update: 2020-08-22 06:51:17 UTC


README

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

  • curl
  • fileinfo
  • gd2
  • pdomssql
  • pdomysql
  • pdosqlite
  • mbstring
  • memcache
  • mongo
  • mongodb
  • mysqli
  • mssql
  • opcache
  • openssl
  • sphinx
  • redis
  • sockets
  • solr
  • ssh2
  • xdebug
  • zip

Errors

  • php 既不是内部命令也不知可执行程序
  • fwrite 写入失败
    • 需要给\cache文件夹配置读写权限,windows通常情况下默认是有的
  • xxxx.dll already run
    • 已经安装了此扩展,且已在运行

License

MIT