{"id":1145,"date":"2021-08-25T22:37:52","date_gmt":"2021-08-25T20:37:52","guid":{"rendered":"https:\/\/www.mediamill.de\/blog\/?p=1145"},"modified":"2021-08-25T22:37:53","modified_gmt":"2021-08-25T20:37:53","slug":"typo3-cli-bringt-die-fehlermeldung-the-apcu-backend-cannot-be-used-because-apcu-is-disabled-on-cli","status":"publish","type":"post","link":"https:\/\/www.mediamill.de\/blog\/2021\/08\/25\/typo3-cli-bringt-die-fehlermeldung-the-apcu-backend-cannot-be-used-because-apcu-is-disabled-on-cli\/","title":{"rendered":"TYPO3 Cli bringt die Fehlermeldung &#8222;The APCu backend cannot be used because apcu is disabled on CLI.&#8220;"},"content":{"rendered":"\n<p>Auf einem Staging Server f\u00fcr das Update von TYPO3 9 auf TYPO3 10 trat bei dem Ausf\u00fchren von TYPO3 Cli Befehlen der Fehler  &#8222;The APCu backend cannot be used because apcu is disabled on CLI.&#8220; auf.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-4.png\"><img loading=\"lazy\" decoding=\"async\" width=\"614\" height=\"131\" src=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-4.png\" alt=\"\" class=\"wp-image-1146\" srcset=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-4.png 614w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-4-300x64.png 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/a><\/figure>\n\n\n\n<p> Auf <a rel=\"noreferrer noopener\" href=\"https:\/\/forge.typo3.org\/issues\/82621\" target=\"_blank\">https:\/\/forge.typo3.org\/issues\/82621<\/a> fand ich f\u00fcr mich die L\u00f6sung f\u00fcr das Problem.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><a href=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-5.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"124\" src=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-5-1024x124.png\" alt=\"\" class=\"wp-image-1147\" srcset=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-5-1024x124.png 1024w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-5-300x36.png 300w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-5-768x93.png 768w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-5-624x75.png 624w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-5.png 1290w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/a><\/figure>\n\n\n\n<p>Um APCu auf der PHP Cli zu aktivieren muss man auf Debian Systemen die Datei <code>\/etc\/php\/7.1\/cli\/conf.d\/20-apcu.ini<\/code> bearbeiten und die Zeile <code> apc.enable_cli=on<\/code> hinzuf\u00fcgen.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-6.png\"><img loading=\"lazy\" decoding=\"async\" width=\"352\" height=\"76\" src=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-6.png\" alt=\"\" class=\"wp-image-1148\" srcset=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-6.png 352w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-6-300x65.png 300w\" sizes=\"auto, (max-width: 352px) 100vw, 352px\" \/><\/a><\/figure>\n\n\n\n<p>Danach konnten die TYPO3 Cli Kommandos erfolgreich ausgef\u00fchrt werden.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-7.png\"><img loading=\"lazy\" decoding=\"async\" width=\"617\" height=\"92\" src=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-7.png\" alt=\"\" class=\"wp-image-1149\" srcset=\"https:\/\/www.mediamill.de\/blog\/wp-content\/image-7.png 617w, https:\/\/www.mediamill.de\/blog\/wp-content\/image-7-300x45.png 300w\" sizes=\"auto, (max-width: 617px) 100vw, 617px\" \/><\/a><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Auf einem Staging Server f\u00fcr das Update von TYPO3 9 auf TYPO3 10 trat bei dem Ausf\u00fchren von TYPO3 Cli Befehlen der Fehler &#8222;The APCu backend cannot be used because apcu is disabled on CLI.&#8220; auf. Auf https:\/\/forge.typo3.org\/issues\/82621 fand ich f\u00fcr mich die L\u00f6sung f\u00fcr das Problem. Um APCu auf der PHP Cli zu aktivieren [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[27,22],"tags":[104,69],"class_list":["post-1145","post","type-post","status-publish","format-standard","hentry","category-php","category-typo3","tag-php","tag-typo3"],"_links":{"self":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts\/1145","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/comments?post=1145"}],"version-history":[{"count":1,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts\/1145\/revisions"}],"predecessor-version":[{"id":1150,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/posts\/1145\/revisions\/1150"}],"wp:attachment":[{"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/media?parent=1145"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/categories?post=1145"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.mediamill.de\/blog\/wp-json\/wp\/v2\/tags?post=1145"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}