php_opcache is not running
Posted by: mmasmoudi (41.228.18.---)
Date: January 29, 2015 12:03PM

Hi all,

i have newly installed my wamp but the extension has an exclamation sign it's not running. i'ev runned php.info and there is no op_cache word on it.

How can i fix that ?
My wamp spec :
wampserver2.5
-Apache-2.4.9
-Mysql-5.6.17
-php5.5.12-64b.exe

thnks in advance

Options: ReplyQuote
Re: php_opcache is not running
Posted by: RiggsFolly (---.as43234.net)
Date: January 29, 2015 12:26PM

Hi,

opcache is a little unusual and is not run as a standard extension i.e. it is not loaded using the normal

extension=....

syntax.

It has to be loaded as a zend extension

zend_extension=php_opcache.dll

So I suggest you do it this way. Find this line in the php.ini ( use the menus to edit php.ini so you edit the correct file.

[opcache]

The add the the parameter above that line like this

zend_extension=php_opcache.dll
[opcache]

Of course you will now have to look at the parameter under the [opcache] section header and amend them to fit your needs.

Restart Apache [wampmanager->Apache->Service->Restart Service]

Check the WAMPServer homepage 'Loaded Extensions' section for Zend OPcache
Also the phpinfo() link should now show 'Zend Opcache' as loaded

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote


Sorry, only registered users may post in this forum.