Page 1 of 1

Advice on Zend with PHP 7 please

Posted: Sat Sep 22, 2018 9:25 am
by Charles Butcher
My System Information (CMSMS 2.2.8) says PHP 5.5+ Opcode Cache is off. According to the documentation I guess it should be on.

phpinfo() says I have PHP 7.1.5 with Zend Engine v3.1.0. Am I right in thinking that Zend Optimizer no longer exists for PHP 7, and that Zend Engine does the optimization instead?

And if so, does that mean the CMSMS System Information check is out of date?

Or do I somehow have two PHP versions? System Information reports PHP 7.1.21.

I can't see any .htaccess statements that would disable Zend.

I hope this is on-topic – it does relate to warnings that CMSMS is providing.

Thanks for any advice,

Charles

Re: Advice on Zend with PHP 7 please

Posted: Sat Sep 22, 2018 12:15 pm
by PinkElephant
Hi Charles
Charles Butcher wrote:Am I right in thinking that Zend Optimizer no longer exists for PHP 7
I don't think so. Looking at debian stretch which ships with php7.0 (so I'll be setting up containers for php7.1+ before its imminent end-of-life [03 Dec 2018]):
phpinfo wrote: Zend Engine v3.0.0 with Zend OPcache v7.0.30-0+deb9u1
... and CMSMS SysInfo reports "PHP 5.5+ Opcode Cache: On (True)".
Charles Butcher wrote:I hope this is on-topic -
Unlikely. Sounds non-CMSMS so far. ;)
it does relate to warnings that CMSMS is providing.
That's a different kettle of fish -- red herring, I suspect. ;)

Re: Advice on Zend with PHP 7 please

Posted: Sat Sep 22, 2018 2:18 pm
by Charles Butcher
Thanks, PinkElephant. Let's leave it there then, and I'll take it up with the hosting company.
That's a different kettle of fish -- red herring, I suspect. ;)
Well, I guess my basic question was "is CMSMS reporting this correctly". And since you say that's true:
CMSMS SysInfo reports "PHP 5.5+ Opcode Cache: On (True)".
I think it was a fair question at the "I haven't a clue about this stuff" level. I do like a nice kipper :)