{"id":52,"date":"2017-08-06T14:17:57","date_gmt":"2017-08-06T12:17:57","guid":{"rendered":"https:\/\/linux.netreaper.de\/?p=52"},"modified":"2018-08-12T22:53:29","modified_gmt":"2018-08-12T20:53:29","slug":"nextcloud-zend-und-php-opcache-konfigurieren","status":"publish","type":"post","link":"https:\/\/blog.sscho.de\/?p=52","title":{"rendered":"NextCloud: Zend und PHP OpCache konfigurieren"},"content":{"rendered":"<p>Hier eine Anleitung um die OP-Cache Einstellungen f\u00fcr PHP im Nextcloud durchzuf\u00fchren:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-83 size-large\" src=\"https:\/\/linux.netreaper.de\/wp-content\/uploads\/2017\/08\/nc-opcache1-1024x359.png\" alt=\"\" width=\"750\" height=\"263\" srcset=\"https:\/\/blog.sscho.de\/wp-content\/uploads\/2017\/08\/nc-opcache1-1024x359.png 1024w, https:\/\/blog.sscho.de\/wp-content\/uploads\/2017\/08\/nc-opcache1-300x105.png 300w, https:\/\/blog.sscho.de\/wp-content\/uploads\/2017\/08\/nc-opcache1-768x269.png 768w, https:\/\/blog.sscho.de\/wp-content\/uploads\/2017\/08\/nc-opcache1.png 1316w\" sizes=\"auto, (max-width: 709px) 85vw, (max-width: 909px) 67vw, (max-width: 984px) 61vw, (max-width: 1362px) 45vw, 600px\" \/><\/p>\n<p>Quelle:<br \/>\n<a href=\"https:\/\/www.webfoobar.com\/index.php\/node\/31\">https:\/\/www.webfoobar.com\/index.php\/node\/31<\/a><br \/>\n<a href=\"https:\/\/archive.is\/wgSDr\">https:\/\/archive.is\/wgSDr<\/a><\/p>\n<ol>\n<li>\n<blockquote><p>Install the PHP Zend OPcache:<\/p>\n<pre><code class=\"bash hljs\">\r\nyum install php-pecl-zendopcache\r\n  <\/code><\/pre>\n<\/blockquote>\n<\/li>\n<li>\n<blockquote><p>Configure Zend OPcache optimized for your PHP application. Edit opcache.ini:<\/p>\n<pre><code class=\"bash hljs\">\r\nvi \/etc\/php.d\/opcache.ini\r\n  <\/code><\/pre>\n<p>&#8230; and change the following to:<\/p>\n<pre><code class=\"bash hljs\">\r\nopcache.revalidate_freq=<span class=\"hljs-number\">0<\/span>\r\nopcache.validate_timestamps=<span class=\"hljs-number\">0<\/span> \r\nopcache.max_accelerated_files=<span class=\"hljs-number\">20000<\/span>\r\nopcache.memory_consumption=<span class=\"hljs-number\">128<\/span>\r\nopcache.interned_strings_buffer=<span class=\"hljs-number\">16<\/span>\r\nopcache.fast_shutdown=<span class=\"hljs-number\">1\r\n\r\n<\/span><\/code><\/pre>\n<\/blockquote>\n<\/li>\n<\/ol>\n<p>Das ist im wesentlichen alles.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Hier eine Anleitung um die OP-Cache Einstellungen f\u00fcr PHP im Nextcloud durchzuf\u00fchren: Quelle: https:\/\/www.webfoobar.com\/index.php\/node\/31 https:\/\/archive.is\/wgSDr Install the PHP Zend OPcache: yum install php-pecl-zendopcache Configure Zend OPcache optimized for your PHP application. Edit opcache.ini: vi \/etc\/php.d\/opcache.ini &#8230; 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.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"link","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4,2],"tags":[],"class_list":["post-52","post","type-post","status-publish","format-link","hentry","category-befehle","category-linux","post_format-post-format-link"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/blog.sscho.de\/index.php?rest_route=\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.sscho.de\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.sscho.de\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.sscho.de\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.sscho.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=52"}],"version-history":[{"count":4,"href":"https:\/\/blog.sscho.de\/index.php?rest_route=\/wp\/v2\/posts\/52\/revisions"}],"predecessor-version":[{"id":84,"href":"https:\/\/blog.sscho.de\/index.php?rest_route=\/wp\/v2\/posts\/52\/revisions\/84"}],"wp:attachment":[{"href":"https:\/\/blog.sscho.de\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.sscho.de\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.sscho.de\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}