Topic: Cannot enable Opcache huge_code_pages on PHP 7.1.4
Hello,
I'm having the same problem as the OP of this thread:
https://forum.remirepo.net/viewtopic.php?pid=8407
The error is:
PHP Warning: Zend OPcache huge_code_pages: madvise(HUGEPAGE) failed: Invalid argument
However, I'm using CentOS 7.3, unlike the OP who was using 6.7, so this problem should not occur.
I know I can disable huge_code_pages, but would like to keep it enabled if possible.
Any idea why this is occurring? I installed a fresh CentOS 7.3 from an OVH template, running their own kernel (4.4.30-mod-std-ipv6-64).
Could this be the reason why? I have an older server with them, same configuration but older kernel (3.10.23-xxxx-std-ipv6-64, not sure whether it's an OVH kernel or a vanilla one), and it works fine there.
Thanks in advance for any help.