xtrime-ru/php-extensions-toggle
最新稳定版本:v1.1.1
Composer 安装命令:
composer create-project xtrime-ru/php-extensions-toggle
包简介
Toggle php extensions from cli
README 文档
README
Toggle php extensions from command line
How it works?
- Search for all .ini files in php directory
- Find line where specified extension loaded
- Add or remove
;at the beginning of the line - Try restart
fpm,apacheandbrew php
Requirements
- Linux or MacOs
- Brew to restart php on mac os
servicecommand to restart php-fpm or apache on linux
Install
composer create-project xtrime-ru/php-extensions-toggle && rm -rf php-extensions-toggle/
Remove
rm /usr/local/bin/php-extension
Usage
php-extensions xdebug on
php-extensions xdebug off
php-extensions apcu on
统计信息
- 总下载量: 215
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2020-05-02