@@ -182,17 +182,19 @@ public function test_php_extensions() {
182
182
} else {
183
183
$ this ->html_table_row ( 'CURL ' , 'Yes* ' , 'Yes ' , 'Installed ' , 'success ' );
184
184
}
185
-
186
- if ( is_callable ( 'eaccelerator_put ' ) ) {
187
- $ this ->html_table_row ( 'Opcode (APC or Xcache or eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'eAccelerator Installed ' , 'success ' );
185
+
186
+ if ( is_callable ( 'opcache_reset ' ) ) {
187
+ $ this ->html_table_row ( 'Opcode (Zend OPcache, APC, Xcache, eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'Zend OPcache Installed ' , 'success ' );
188
+ } elseif ( is_callable ( 'eaccelerator_put ' ) ) {
189
+ $ this ->html_table_row ( 'Opcode (Zend OPcache, APC, Xcache, eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'eAccelerator Installed ' , 'success ' );
188
190
} elseif ( is_callable ( 'xcache_set ' ) ) {
189
- $ this ->html_table_row ( 'Opcode (APC or Xcache or eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'XCache Installed ' , 'success ' );
191
+ $ this ->html_table_row ( 'Opcode (Zend OPcache, APC, Xcache, eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'XCache Installed ' , 'success ' );
190
192
} elseif ( is_callable ( 'apc_store ' ) ) {
191
- $ this ->html_table_row ( 'Opcode (APC or Xcache or eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'APC Installed ' , 'success ' );
193
+ $ this ->html_table_row ( 'Opcode (Zend OPcache, APC, Xcache, eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'APC Installed ' , 'success ' );
192
194
} elseif ( is_callable ( 'zend_optimizer_version ' ) ) {
193
- $ this ->html_table_row ( 'Opcode (APC or Xcache or eAccelerator or Zend Optimizer ) ' , 'No ' , 'Yes ' , 'Zend Optimizer Installed ' , 'success ' );
195
+ $ this ->html_table_row ( 'Opcode (Zend OPcache, APC, Xcache, eAccelerator or Zend Optimizerr ) ' , 'No ' , 'Yes ' , 'Zend Optimizer Installed ' , 'success ' );
194
196
} else {
195
- $ this ->html_table_row ( 'Opcode (APC or Xcache or eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'Not installed ' , 'warning ' );
197
+ $ this ->html_table_row ( 'Opcode (Zend OPcache, APC, Xcache, eAccelerator or Zend Optimizer) ' , 'No ' , 'Yes ' , 'Not installed ' , 'warning ' );
196
198
}
197
199
198
200
if ( ! class_exists ( 'Memcache ' ) ) {
0 commit comments