为操作码缓存分配的内存量。
对于PHP,最好的事情就是安装一个操作码缓存。
The best thing you can do for PHP is to install an opcode cache.
替代PHP缓存大概是PHP最流行的操作码缓存。
Alternative PHP cache, is probably the most popular opcode cache for PHP.
您的发布版也有可能已经包含了一个操作码缓存,只需安装即可。
It's also possible that your distribution has already packaged an opcode cache, and you just have to install it.
它作为一系列操作码缓存这些编译脚本,以避免为解析和编译每个请求步骤。
It caches these compiled scripts as a series of opcodes to avoid the parse and compile steps for every request.
我们看到了定义这些函数的更规则的语法,这可以通过操作码缓存来优化性能。
We see a much cleaner syntax for defining these functions, which can be optimized for performance by opcode caches.
第1部分介绍了XCache,它是把php操作码缓存到内存中的PHP扩展。
Part 1 presents XCache, a PHP extension that caches PHP opcodes in memory.
操作码缓存将保存这个编译后的操作码,并在下一次调用该页面时重用它。
An opcode cache saves this compiled opcode and reuses it the next time the page is called.
Zend的厂商也提供了一种商业操作码缓存,包括一个进一步提高效率的优化器。
The makers of Zend also have a commercial opcode cache that includes an optimizer to further increase efficiency.
替代php缓存(APC)可能是PHP最流行的操作码缓存(参见参考资料)。
Alternative PHP cache (APC) is probably the most popular opcode cache for PHP (see Resources).
提高任何PHP应用程序(当然是LAMP中的“P”)的性能的最简单方式是利用一个操作码缓存。
The easiest thing to boost performance of any PHP application (the "p" in LAMP, of course) is to take advantage of an opcode cache.
毫无疑问,一个操作码缓存是通过在每次请求后消除解析和编译脚本的需要来加速PHP 的第一步。
Without a doubt, an opcode cache is the first step in speeding up PHP by removing the need to parse and compile a script on every request.
文件缓存-即使启用了PHP操作码缓存,PHP引擎要访问一个文件系统上的脚本文件。
File cache - Even with the PHP opcode cache enabled, the PHP engine has to accesses the script files on a file system.
操作码缓存——以及一个操作码优化器,通常由相同的包提供——是一种加快站点响应的低成本技术。
An opcode cache — and an opcode optimizer, which is often provided in the same package — is a dirt-cheap technique to hasten the responsiveness of your site.
不同于APC和Wincache,它仅是一个操作码缓存和优化器,因此它不包含用户缓存组件。
Unlike APC and Wincache, it is only an opcode cache and optimizer, so it does not contain the user cache components.
对于我使用的任何网站,它是我确保存在的一项内容,因为性能影响很大(很多时候有了操作码缓存,响应时间可减少一半)。
For any website I work with, it's the one thing I make sure is present, since the performance impact is huge (many times with response times half of what they are without an opcode cache).
我们不仅通过利用一个操作码缓存和优化PHP配置探究了php级别的技术,而且探究了如何优化您的数据库设计来实现合理的索引编制。
We looked at techniques not only at the PHP level, by leveraging an opcode cache and optimizing the PHP configuration, but also looked at optimizing your database design for proper indexing.
虽然实现操作码缓存是性能改进的一大创举,不过也有大量其他优化选项可供您基于php.ini文件中的设置优化您的 PHP设置。
While implementing an opcode cache is a big bang for performance improvement, there are a number of other tweaks you can do to optimize your PHP setup, based upon the settings in your php.ini file.
您能看到缓存中的PHP文件列表,连同cache hit、操作码的代码大小、源文件的字节大小,等等。
You should see a list of PHP files in the cache, along with cache hits, the size of the code as measured in opcodes, the size of the source file measured in bytes, and more.
因此当php脚本的缓存操作码存在时,我们可以跳过PHP请求流程的解析和编译步骤,直接执行缓存操作码并输出结果。
So when the cached opcodes of a PHP script exists, we can skip by the parse and compile steps of the PHP request process and directly execute the cache opcodes and output the results.
PHP的二进制代码(操作码)缓存用来存储在共享内存中的字节码编译的脚本,以便它可以重新通过PHP引擎,用于后续执行相同的脚本。
The PHP bytecode (opcode) cache is used to store the compiled script bytecode in shared memory so that it can be re-used by PHP engine for subsequent executions of the same script.
它包括操作码加速,页面缓存,数据缓存,应用监控和诊断功能的应用问题。
It includes opcode acceleration, page caching, data caching, application monitoring and application problem diagnostic capabilities.
它包括操作码加速,页面缓存,数据缓存,应用监控和诊断功能的应用问题。
It includes opcode acceleration, page caching, data caching, application monitoring and application problem diagnostic capabilities.
应用推荐