Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot redeclare opcache_get_status() #36

Open
gemal opened this issue Apr 7, 2015 · 1 comment
Open

Cannot redeclare opcache_get_status() #36

gemal opened this issue Apr 7, 2015 · 1 comment

Comments

@gemal
Copy link

gemal commented Apr 7, 2015

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
Copy link

I think you should disable opcache on CLI.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants