Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/seth-shi/easy-extends

一个简单快速安装PHP扩展的程序--最简单的方法就是使用Linux
https://github.com/seth-shi/easy-extends

composer extends memcache monogame php redis

Last synced: about 1 month ago
JSON representation

一个简单快速安装PHP扩展的程序--最简单的方法就是使用Linux

Awesome Lists containing this project

README

        

# 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](media/redis.gif)

## Requirement
1. PHP >= 5.3

## Installation
[easy-extends压缩包](https://github.com/davidnineroc/easy-extends/archive/master.zip)
```shell
// 手动下载
github 的 Clone or download 按钮 -> download zip 即可下载压缩包

// composer安装
composer require davidnineroc/easy-extends
```
## Usage
```php
// 使用格式
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 既不是内部命令也不知可执行程序
* 需注册[php环境变量](http://blog.shiguopeng.cn/article/10201.html)
* fwrite 写入失败
* 需要给`\cache`文件夹配置读写权限,windows通常情况下默认是有的
* xxxx.dll already run
* 已经安装了此扩展,且已在运行
## License
MIT