NextCloud: Zend und PHP OpCache konfigurieren

Hier eine Anleitung um die OP-Cache Einstellungen für PHP im Nextcloud durchzuführen:

Quelle:
https://www.webfoobar.com/index.php/node/31
https://archive.is/wgSDr

  1. Install the PHP Zend OPcache:

    
    yum install php-pecl-zendopcache
      
  2. Configure Zend OPcache optimized for your PHP application. Edit opcache.ini:

    
    vi /etc/php.d/opcache.ini
      

    … and change the following to:

    
    opcache.revalidate_freq=0
    opcache.validate_timestamps=0 
    opcache.max_accelerated_files=20000
    opcache.memory_consumption=128
    opcache.interned_strings_buffer=16
    opcache.fast_shutdown=1
    
    

Das ist im wesentlichen alles.

Schreibe einen Kommentar

Deine E-Mail-Adresse wird nicht veröffentlicht. Erforderliche Felder sind mit * markiert