略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: 运行时配置

2024-11-13

运行时配置

这些函数的行为受 php.ini 中的设置影响。

uopz 配置选项
名字 默认 可修改范围 更新日志
uopz.disable "0" PHP_INI_SYSTEM Available as of uopz 5.0.2
uopz.exit "0" PHP_INI_SYSTEM Available as of uopz 6.0.1
uopz.overloads "1" PHP_INI_SYSTEM Available as of uopz 2.0.2. Removed as of uopz 5.0.0.
有关 PHP_INI_* 样式的更多详情与定义,见 配置可被设定范围

这是配置指令的简短说明。

uopz.disable bool

If enabled, uopz should stop having any effect on the engine.

uopz.exit bool

Whether to allow the execution of exit opcodes or not. This setting can be overridden during runtime by calling uopz_allow_exit().

uopz.overloads bool

Enables the ability to use uopz_overload().

注意: When running with OPcache enabled, it may be necessary to disable all OPcache optimizations (opcache.optimization_level=0).

add a noteadd a note

User Contributed Notes

There are no user contributed notes for this page.

官方地址:https://www.php.net/manual/en/uopz.configuration.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3