Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/seth-shi/easy-extends
- Owner: seth-shi
- Archived: true
- Created: 2017-09-16T07:06:36.000Z (about 7 years ago)
- Default Branch: master
- Last Pushed: 2019-01-16T03:23:33.000Z (almost 6 years ago)
- Last Synced: 2024-09-26T08:39:20.204Z (about 1 month ago)
- Topics: composer, extends, memcache, monogame, php, redis
- Language: PHP
- Homepage:
- Size: 4.3 MB
- Stars: 77
- Watchers: 1
- Forks: 7
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# easy-extends
## 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