wilbur-yu/hyperf-opcache
Composer 安装命令:
composer require wilbur-yu/hyperf-opcache
包简介
PHP Opcache command for Hyperf
README 文档
README
PHP Opcache command for Hyperf
description
Transplantation in laravel-opcache Opcache configuration reference OPcache configuration
Requirements
This package requires hyperf 2.1 or newer.
Installation
You can install the package via Composer:
composer require wenber-yu/hyperf-opcache
If you need to change config values, you can publish the config file with:
php bin/hyperf.php vendor:publish wenber-yu/hyperf-opcache
usage
- config
php bin/hyperf.php opcache:config
- status
php bin/hyperf.php opcache:status
- clear
php bin/hyperf.php opcache:clear
- compile
php bin/hyperf.php opcache:compile {--force}
Note: opcache.dups_fix must be enabled, or use the --force flag. If you run into "Cannot redeclare class" errors, enable opcache.dups_fix or add the class path to the exclude list.
Contributing
Thanks to the laravel-opcache and their contributors
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2.9k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 3
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-01-12