MRatWork Forum by Mustafa Ramadhan

Sawo Project - Kloxo-MR Discussions => Kloxo-MR Technical Helps => Topic started by: atljohnsen on 2019-05-17, 08:50:33

Title: Opcache
Post by: atljohnsen on 2019-05-17, 08:50:33
I tried to enable opcache for phpXYm by renaming opcache.nonini in /opt/phpXYm/etc/php.d to 10-opcache_used.ini. (XY is the php version where opcache is needed). But when I did sh /script/cleanup I got error:

Failed loading /opt/phpXYm/usr/lib64/php/modules/opcache: Cannot open shared object file: No such file or directory.

So I modified 10-opcache_used.ini line 2 from
zend_extension=/opt/phpXYm/usr/lib64/php/modules/opcache
to
zend_extension=/opt/phpXYm/usr/lib64/php/modules/opcache.so

and this seem to work, - no error when I do sh /script/cleanup and also I see in Kloxo-MR Home - PHP Module Status that 10-Opcache is green.
Title: Re: Opcache
Post by: MRatWork on 2019-05-17, 11:26:51
Look like something with php 7.2 and 7.3 because no issue for php 7.1 and php5*