Author Topic: not sure opcache for php 7 (selector) is active  (Read 9276 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
not sure opcache for php 7 (selector) is active
« on: February 16, 2016, 02:33:14 PM »
i have compiled php 7 with --enable-opcache in php selector edit flags

then i have commented out linex in php.ini ( /opt/alt/php7/usr/php/php.ini )
then i added the line

zend_extension=/usr/lib64/extensions/no-debug-non-zts-20131226/opcache.so

but i can't understand how i would notice it is working
in the list modules in php selector, there's no opcache
in phpinfo, on a site i use php7, only two things about opcache are "configure command" and "author credits"

someone has a suggestion?

Offline
***
Re: not sure opcache for php 7 (selector) is active
« Reply #1 on: June 09, 2018, 06:23:07 AM »
make a .php file, add this function inside:

<?php
phpinfo();
?>

Load it on browser You will see a report which states the status of your Opcache engine.

you can see a preview here : https://prnt.sc/jstyc9
« Last Edit: June 09, 2018, 06:39:10 AM by locvfx »