How to install apcu in windows

前端 未结 5 1154
难免孤独
难免孤独 2020-12-08 00:42

How can I install APCu in Windows?

I found this. But I need a solution for Windows.

I use PHP 5.5.6 (I have the XAMPP package).

5条回答
  •  轻奢々
    轻奢々 (楼主)
    2020-12-08 01:43

    Please refer to the official documentation:
    https://secure.php.net/manual/en/opcache.installation.php

    In my case, I'm using PHP 5.6 on XAMPP and everything I need to do is to update my php.ini file with (recommended settings):

    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
    

提交回复
热议问题