Control Web Panel

WebPanel => PHP Selector => Topic started by: caffeine on February 16, 2016, 02:33:14 PM

Title: not sure opcache for php 7 (selector) is active
Post by: caffeine 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?
Title: Re: not sure opcache for php 7 (selector) is active
Post by: locvfx 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