rlerdorf / opcache-status

A one-page opcache status page
1.56k stars 377 forks source link

Cannot redeclare opcache_get_status() #36

Open gemal opened 9 years ago

gemal commented 9 years ago

php --syntax-check /opcache/data-sample.php PHP Fatal error: Cannot redeclare opcache_get_status() in /opcache/data-sample.php on line 446

PHP 5.5.22 (cli) (built: Mar 5 2015 23:04:39) Copyright (c) 1997-2015 The PHP Group Zend Engine v2.5.0, Copyright (c) 1998-2015 Zend Technologies with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2015, by Zend Technologies

szepeviktor commented 9 years ago

I think you should disable opcache on CLI.