{"id":15258,"date":"2023-07-21T15:28:10","date_gmt":"2023-07-21T21:28:10","guid":{"rendered":"https:\/\/sada.services\/?p=15258"},"modified":"2023-07-21T15:37:51","modified_gmt":"2023-07-21T21:37:51","slug":"nextcloud-opcache","status":"publish","type":"post","link":"https:\/\/sada.services\/?p=15258","title":{"rendered":"Nextcloud: opcache"},"content":{"rendered":"\n<p><a href=\"https:\/\/docs.nextcloud.com\/server\/25\/admin_manual\/installation\/server_tuning.html#enable-php-opcache\">https:\/\/docs.nextcloud.com\/server\/25\/admin_manual\/installation\/server_tuning.html#enable-php-opcache<\/a><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Abrimos el archivo<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>nano \/etc\/php\/7.4\/apache2\/php.ini<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Config<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>opcache.save_comments = 1\nopcache.revalidate_freq = 60\nopcache.validate_timestamps = 0\nopcache.interned_strings_buffer=10\n<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Instalar<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install php7.4-memcached php7.4-apcu<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Abriri<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo gedit \/etc\/php\/7.4\/mods-available\/apcu.ini<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Agregar<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>apc.enable_cli=1 \napc.shm_size=512M<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>archivo config.php de nextcloud<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo gedit \/var\/www\/html\/Sistemas\/NUBECASA\/config\/config.ph<\/code><\/pre>\n\n\n\n<ul class=\"wp-block-list\">\n<li>agregar<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-code\"><code>'memcache.local' => '\\OC\\Memcache\\APCu',\n  'memcache.distributed' => '\\OC\\Memcache\\Memcached'<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>https:\/\/docs.nextcloud.com\/server\/25\/admin_manual\/installation\/server_tuning.html#enable-php-opcache<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[35],"tags":[542],"class_list":["post-15258","post","type-post","status-publish","format-standard","hentry","category-nextcloud","tag-opcache"],"blocksy_meta":{"styles_descriptor":{"styles":{"desktop":"","tablet":"","mobile":""},"google_fonts":[],"version":6}},"_links":{"self":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/15258","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=15258"}],"version-history":[{"count":4,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/15258\/revisions"}],"predecessor-version":[{"id":15260,"href":"https:\/\/sada.services\/index.php?rest_route=\/wp\/v2\/posts\/15258\/revisions\/15260"}],"wp:attachment":[{"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=15258"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=15258"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sada.services\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=15258"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}