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
Error: Call to undefined function opcache_reset() #2792
Comments
MISP works fine with php56 from SCL with the php56-php-opcache package installed as well. |
That is rh-php56 and rh-php56-php-opcache from SCL. |
you win! seems remi reviewed recently the split of their php packages. works fine adding php-opcache. Thanks! |
…nly execute it if the function exists, fixes #2792
Thanks for the heads-up, even though you've fixed it by installing the package - we should check whether the function exists before trying to execute it. Fixed in case others run into the same issue. |
Thanks @iglocska |
Work environment
Expected behavior
Since about 2 weeks, I have my automated travis build for my MISP ansible role failing for centos7.
https://travis-ci.org/juju4/ansible-MISP/builds
looking at it today, It seems to be similar to #2727 but for
MISP/app/Model/Server.php
Line 2624 in 9c17b11
and fixed like datenstrom/yellow#258
even if opcache_reset() is a base function https://secure.php.net/manual/fr/function.opcache-reset.php
I tried with php56 and php72 from remi yum repository with same result
https://api.travis-ci.org/v3/job/326519049/log.txt
https://api.travis-ci.org/v3/job/326505894/log.txt
Ubuntu 16.04 is normal
https://api.travis-ci.org/v3/job/326519050/log.txt
(search for /var/www/MISP/app/Console/cake userInit -q)
even if
on centos7
same result if I force it
juju4/ansible-MISP@96231aa
L2624 seems to be recent and from commit
6e7a9da#diff-5043d40040a721280ed4c0c7fb144ecb
I suppose that a if function is needed too but unsure
comment?
Thanks
The text was updated successfully, but these errors were encountered: