mirror of
https://github.com/yiisoft/yii2.git
synced 2025-12-16 20:47:32 +08:00
update APC link (#19210)
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
PHP 環境を正しく構成することは非常に重要です。最大のパフォーマンスを得るためには、
|
PHP 環境を正しく構成することは非常に重要です。最大のパフォーマンスを得るためには、
|
||||||
|
|
||||||
- 最新の安定した PHP バージョンを使うこと。使用する PHP のメジャー・リリースを上げると、顕著なパフォーマンスの改善がもたらされることがあります。
|
- 最新の安定した PHP バージョンを使うこと。使用する PHP のメジャー・リリースを上げると、顕著なパフォーマンスの改善がもたらされることがあります。
|
||||||
- [Opcache](https://www.php.net/opcache) (PHP 5.5 以降) または [APC](https://www.php.net/apc) (PHP 5.4) を使って、
|
- [Opcache](https://www.php.net/opcache) (PHP 5.5 以降) または [APC](https://www.php.net/manual/en/book.apcu.php) (PHP 5.4) を使って、
|
||||||
バイト・コード・キャッシュを有効にすること。
|
バイト・コード・キャッシュを有効にすること。
|
||||||
バイト・コード・キャッシュによって、リクエストが入ってくるたびに PHP スクリプトを解析してインクルードする時間の浪費を避けることが出来ます。
|
バイト・コード・キャッシュによって、リクエストが入ってくるたびに PHP スクリプトを解析してインクルードする時間の浪費を避けることが出来ます。
|
||||||
- [`realpath()` キャッシュをチューニングする](https://github.com/samdark/realpath_cache_tuner).
|
- [`realpath()` キャッシュをチューニングする](https://github.com/samdark/realpath_cache_tuner).
|
||||||
|
|||||||
@@ -12,7 +12,7 @@
|
|||||||
|
|
||||||
- 使用最新稳定版本的 PHP。 PHP 的主要版本可能带来显著的性能提升。
|
- 使用最新稳定版本的 PHP。 PHP 的主要版本可能带来显著的性能提升。
|
||||||
- 启用字节码缓存 [Opcache](https://www.php.net/opcache)(PHP 5.5或更高版本)
|
- 启用字节码缓存 [Opcache](https://www.php.net/opcache)(PHP 5.5或更高版本)
|
||||||
或 [APC](https://www.php.net/apc)
|
或 [APC](https://www.php.net/manual/en/book.apcu.php)
|
||||||
(PHP 5.4或更早版本)。字节码缓存省去了每次解析和加载 PHP 脚本所带来的开销。
|
(PHP 5.4或更早版本)。字节码缓存省去了每次解析和加载 PHP 脚本所带来的开销。
|
||||||
- [Tune `realpath()` cache](https://github.com/samdark/realpath_cache_tuner).
|
- [Tune `realpath()` cache](https://github.com/samdark/realpath_cache_tuner).
|
||||||
|
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ factors and explain how you can improve your application performance by adjustin
|
|||||||
A well configured PHP environment is very important. In order to get maximum performance,
|
A well configured PHP environment is very important. In order to get maximum performance,
|
||||||
|
|
||||||
- Use the latest stable PHP version. Major releases of PHP may bring significant performance improvements.
|
- Use the latest stable PHP version. Major releases of PHP may bring significant performance improvements.
|
||||||
- Enable bytecode caching with [Opcache](https://www.php.net/opcache) (PHP 5.5 or later) or [APC](https://www.php.net/apc)
|
- Enable bytecode caching with [Opcache](https://www.php.net/opcache) (PHP 5.5 or later) or [APC](https://www.php.net/manual/en/book.apcu.php)
|
||||||
(PHP 5.4). Bytecode caching avoids the time spent in parsing and including PHP scripts for every
|
(PHP 5.4). Bytecode caching avoids the time spent in parsing and including PHP scripts for every
|
||||||
incoming request.
|
incoming request.
|
||||||
- [Tune `realpath()` cache](https://github.com/samdark/realpath_cache_tuner).
|
- [Tune `realpath()` cache](https://github.com/samdark/realpath_cache_tuner).
|
||||||
|
|||||||
Reference in New Issue
Block a user