122
GitHub - WaitMoonMan/easy-extends: 一个简单快速安装PHP扩展的程序
source link: https://github.com/WaitMoonMan/easy-extends
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
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 |
+--------------+ +----------------+ +------------+
Requirement
- PHP >= 5.3
Installation
// 手动下载
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
- fileinfo
- pdomssql
- pdomysql
- pdosqlite
- mbstring
- memcache
- mongo
- mongodb
- mysqli
- mssql
- opcache
- openssl
- sphinx
- redis
- sockets
- xdebug
Errors
- php 既不是内部命令也不知可执行程序
- 需注册php环境变量
- fwrite 写入失败
- 需要给
\cache
文件夹配置读写权限,windows通常情况下默认是有的
- 需要给
- xxxx.dll already run
- 已经安装了此扩展,且已在运行
License
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK