PHP5.6+7代碼性能加速-開啓Zend OPcache-優化CPU

說明 PHP 5.5+版本以上的,可以使用PHP自帶的opcache開啓性能加速(默認是關閉的)。對於PHP 5.5以下版本的,需要使用APC加速,這裏不說明,可以自行上網搜索PHP APC加速的方法。     PHP開啓opcache方法 1、打開php.ini文件 2、找到:[opcache],設置爲: [opcache] ; dll地址 zend_extension=php_opcache.
相關文章
相關標籤/搜索