要启用操作码优化,添加——enable - xcache - optimizer。
To enable the opcode optimizer, add — enable-xcache-optimizer.
请求一个php脚本时,php会读取该脚本,并将其编译为Zend操作码,这是要执行的代码的一种二进制表示形式。
When a PHP script is requested, PHP reads the script and compiles it into what's called Zend opcode, a binary representation of the code to be executed.
文件缓存-即使启用了PHP操作码缓存,PHP引擎要访问一个文件系统上的脚本文件。
File cache - Even with the PHP opcode cache enabled, the PHP engine has to accesses the script files on a file system.
应用推荐