Supposing you are using XAMPP for Windows 1.8.x, you will feel curious about where ZendOpcache module is sitting. It's not there and you'll need to download it yourself.
Opcode caching is a good way to improve PHP performance as it takes out the compiling time of PHP source code for each consecutive loading after the first time that piece of PHP script is loaded and served.
Here're the steps:
1. Please download the package (version as of today is 7.0.4) via the following link:
http://windows.php.net/downloads/pecl/releases/opcache/7.0.4/php_opcache-7.0.4-5.4-ts-vc9-x86.zip
2. Stop Apache Service.
3. Download and extract the library file “php_opcache.dll” and copy it into the directory “C:\xampp\php\ext\”.
4. Add the following lines (marked in red) to the end of PHP configuration file:
. . . C:\xampp\php\php.ini … ; ; set in php ini file only ; ; make sure it's readable (open_basedir is checked) by coverage viewer script ; xcache.coveragedump_directory = "" ; ;; END OF XCACHE CONFIG [Zend_Opcache] zend_extension = "C:\xampp\php\ext\php_opcache.dll" opcache.memory_consumption=128 opcache.interned_strings_buffer=8 opcache.max_accelerated_files=4000 opcache.revalidate_freq=60 opcache.fast_shutdown=1 opcache.enable_cli=1 . . .
5. Start Apache service.
6. Examine and check if the libraries are loading properly via http://localhost/xampp/phpinfo.php
This article is very nice content.
ReplyDeletePython Training in Chennai
Python Training in Training
Python Training in Bangalore
Python Hyderabad
Python Training in Coimbatore
The site was so nice, I found out about a lot of great things. I like the way you make your blog posts. Keep up the good work and may you gain success in the long run.
ReplyDeleteoracle training in chennai
oracle training in tambaram
oracle dba training in chennai
oracle dba training in tambaram
ccna training in chennai
ccna training in tambaram
seo training in chennai
seo training in tambaram
I found out about a lot of great things. I like the way you make your blog posts. Keep up the good work
ReplyDeletehardware and networking training in chennai
hardware and networking training in omr
xamarin training in chennai
xamarin training in omr
ios training in chennai
ios training in omr
iot training in chennai
iot training in omr
Good Post! , it was so good to read and useful to improve my knowledge as an updated one, keep blogging. After seeing your article I want to say that also a well-written article with some very good information which is very useful for the readers....thanks for sharing it and do share more posts like this.
ReplyDeleteSAP Online Training
Nice blog to read, Thanks for sharing this valuable article.
ReplyDeleteBest Big Data Hadoop Online Training
much obliged because of the reality you have been exact natured to rate assessment resulting to us. we can constantly perceive all you have completed here since I comprehend you are chosen stressed thoroughly considering our. Bitdefender Full Crack
ReplyDeletecyberspc.com