Advice on Zend with PHP 7 please

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
User avatar
Charles Butcher
Forum Members
Forum Members
Posts: 102
Joined: Sat Jul 05, 2008 8:25 pm
Location: Norfolk, UK

Advice on Zend with PHP 7 please

Post 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
User avatar
PinkElephant
Forum Members
Forum Members
Posts: 169
Joined: Fri Feb 06, 2009 2:08 pm

Re: Advice on Zend with PHP 7 please

Post 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. ;)
User avatar
Charles Butcher
Forum Members
Forum Members
Posts: 102
Joined: Sat Jul 05, 2008 8:25 pm
Location: Norfolk, UK

Re: Advice on Zend with PHP 7 please

Post 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 :)
Post Reply

Return to “CMSMS Core”