{"id":1370,"date":"2026-04-19T10:33:18","date_gmt":"2026-04-19T07:33:18","guid":{"rendered":"https:\/\/harrykuch.ru\/wordpress\/?p=1370"},"modified":"2026-04-19T10:55:31","modified_gmt":"2026-04-19T07:55:31","slug":"%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%bb%d0%b5%d0%bd%d0%b8%d0%b5-php-%d1%81-%d0%b2%d0%b5%d1%80%d1%81%d0%b8%d0%b8-8-2-%d0%b4%d0%be-8-3-%d0%bd%d0%b0-raspberry-pi5","status":"publish","type":"post","link":"https:\/\/harrykuch.ru\/wordpress\/?p=1370","title":{"rendered":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 PHP \u0441 \u0432\u0435\u0440\u0441\u0438\u0438 8.2 \u0434\u043e 8.3 \u043d\u0430 Raspberry Pi5"},"content":{"rendered":"<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-1371\" src=\"https:\/\/harrykuch.ru\/wordpress\/wp-content\/uploads\/2026\/04\/z-image_00017_.png\" alt=\"\" width=\"512\" height=\"256\" srcset=\"https:\/\/harrykuch.ru\/wordpress\/wp-content\/uploads\/2026\/04\/z-image_00017_.png 512w, https:\/\/harrykuch.ru\/wordpress\/wp-content\/uploads\/2026\/04\/z-image_00017_-300x150.png 300w\" sizes=\"auto, (max-width: 512px) 100vw, 512px\" \/><br \/>\n\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c:<br \/>\nphp -v<br \/>\n\u0417\u0434\u0435\u0441\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432\u0435\u0440\u0441\u0438\u044f PHP \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e \u0441\u0431\u043e\u0440\u043a\u0435.<\/p>\n<p>\u041d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438:<br \/>\nsudo apt update<br \/>\nsudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg curl<\/p>\n<p><!--more--><\/p>\n<p>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u044f\u0445 Raspberry Pi OS \u043f\u043e \u0443\u043c\u043e\u043b\u0447\u0430\u043d\u0438\u044e \u043f\u043e\u043a\u0430 \u043d\u0435\u0442 PHP 8.3, \u043f\u043e\u044d\u0442\u043e\u043c\u0443 \u043c\u044b \u0434\u043e\u0431\u0430\u0432\u0438\u043c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0439 Sury, \u043a\u043e\u0442\u043e\u0440\u044b\u0439 \u044f\u0432\u043b\u044f\u0435\u0442\u0441\u044f \u043e\u0441\u043d\u043e\u0432\u043d\u044b\u043c \u0438\u0441\u0442\u043e\u0447\u043d\u0438\u043a\u043e\u043c \u043e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044b\u0445 \u043f\u0430\u043a\u0435\u0442\u043e\u0432 PHP:<br \/>\ncurl -fsSL https:\/\/packages.sury.org\/php\/apt.gpg | sudo gpg &#8212;dearmor -o \/etc\/apt\/trusted.gpg.d\/php.gpg<br \/>\necho &#171;deb https:\/\/packages.sury.org\/php\/ $(lsb_release -sc) main&#187; | sudo tee \/etc\/apt\/sources.list.d\/php.list<br \/>\nsudo apt update<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u043c\u044b \u043c\u043e\u0436\u0435\u043c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c PHP 8.3 \u0441 \u043c\u043e\u0434\u0443\u043b\u0435\u043c Apache \u0438 \u0440\u0430\u0441\u043f\u0440\u043e\u0441\u0442\u0440\u0430\u043d\u0435\u043d\u043d\u044b\u043c\u0438 \u0440\u0430\u0441\u0448\u0438\u0440\u0435\u043d\u0438\u044f\u043c\u0438:<br \/>\nsudo apt install php8.3 php8.3-cli php8.3-common php8.3-gd php8.3-sqlite3 php8.3-curl php8.3-zip php8.3-xml php8.3-mbstring php8.3-mysql php8.3-bz2 php8.3-intl php8.3-smbclient php8.3-imap php8.3-gmp php8.3-bcmath libapache2-mod-php8.3 php8.3-imagick php8.3-apcu<\/p>\n<p>\u0415\u0441\u043b\u0438 \u0440\u0430\u043d\u0435\u0435 \u0432 Apache \u0431\u044b\u043b\u0430 \u0430\u043a\u0442\u0438\u0432\u043d\u0430 PHP 8.2, \u043e\u0442\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u0435\u0451:<br \/>\nsudo a2dismod php8.2<\/p>\n<p>\u0422\u0435\u043f\u0435\u0440\u044c \u0432\u043a\u043b\u044e\u0447\u0438\u0442\u0435 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e PHP \u0438 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u0435 Apache:<br \/>\nsudo a2enmod php8.3<br \/>\nsudo systemctl restart apache2<\/p>\n<p>\u041f\u0440\u043e\u0432\u0435\u0440\u044c\u0442\u0435, \u0432\u0441\u0451 \u043b\u0438 \u0440\u0430\u0431\u043e\u0442\u0430\u0435\u0442:<br \/>\nphp -v<\/p>\n<p>\u0414\u043b\u044f Nextcloud \u043d\u0443\u0436\u043d\u043e \u0441\u0434\u0435\u043b\u0430\u0442\u044c \u0435\u0449\u0435 \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439:<\/p>\n<p>\u0427\u0442\u043e\u0431\u044b Nextcloud \u043d\u0430\u0447\u0430\u043b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u0442\u044c APCu \u0434\u043b\u044f \u043b\u043e\u043a\u0430\u043b\u044c\u043d\u043e\u0433\u043e \u043a\u044d\u0448\u0438\u0440\u043e\u0432\u0430\u043d\u0438\u044f, \u0434\u043e\u0431\u0430\u0432\u044c\u0442\u0435 \u0432 \u0444\u0430\u0439\u043b config\/config.php \u0441\u0442\u0440\u043e\u043a\u0443:<br \/>\nsudo nano \/var\/www\/html\/nextcloud\/config\/config.php<br \/>\n&#8216;memcache.local&#8217; =&gt; &#8216;\\OC\\Memcache\\APCu&#8217;,<\/p>\n<p>\u0412\u0430\u0448\u0438 \u0441\u0442\u0430\u0440\u044b\u0435 php.ini\u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u043d\u0430\u0445\u043e\u0434\u044f\u0442\u0441\u044f \u0432 \u043f\u0430\u043f\u043a\u0435 \/etc\/php\/8.2\/. \u0412\u043e\u0437\u043c\u043e\u0436\u043d\u043e, \u0432\u0430\u043c \u0441\u0442\u043e\u0438\u0442 \u0441\u043a\u043e\u043f\u0438\u0440\u043e\u0432\u0430\u0442\u044c \u0441\u043e\u043e\u0442\u0432\u0435\u0442\u0441\u0442\u0432\u0443\u044e\u0449\u0438\u0435 \u043d\u0430\u0441\u0442\u0440\u043e\u0439\u043a\u0438 \u0432 \u043d\u043e\u0432\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e.<br \/>\nsudo cp \/etc\/php\/8.2\/apache2\/php.ini \/etc\/php\/8.3\/apache2\/php.ini.backup<br \/>\n\u0417\u0430\u0442\u0435\u043c \u0432\u0440\u0443\u0447\u043d\u0443\u044e \u043e\u0442\u0440\u0435\u0434\u0430\u043a\u0442\u0438\u0440\u0443\u0439\u0442\u0435 \u0444\u0430\u0439\u043b \/etc\/php\/8.3\/apache2\/php.ini \u043f\u043e \u043c\u0435\u0440\u0435 \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e\u0441\u0442\u0438<br \/>\nsudo nano \/etc\/php\/8.3\/apache2\/php.ini<\/p>\n<p>\u041f\u043e\u0441\u043b\u0435 \u0432\u043d\u0435\u0441\u0435\u043d\u0438\u044f \u043b\u044e\u0431\u044b\u0445 \u0438\u0437\u043c\u0435\u043d\u0435\u043d\u0438\u0439 \u0432 \u043a\u043e\u043d\u0444\u0438\u0433\u0443\u0440\u0430\u0446\u0438\u044e \u043d\u0435 \u0437\u0430\u0431\u0443\u0434\u044c\u0442\u0435 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0438\u0442\u044c Apache:<br \/>\nsudo systemctl restart apache2<\/p>\n<p>\u0412\u043e\u0442 <a href=\"https:\/\/kurazhov.ru\/nextcloud-tuning\/\" target=\"_blank\" rel=\"noopener\">\u0442\u0443\u0442<\/a> &#8212; \u0445\u043e\u0440\u043e\u0448\u0430\u044f \u0441\u0442\u0430\u0442\u044c\u044f \u043f\u0440\u043e \u0442\u044e\u043d\u0438\u043d\u0433 nextcloud. \u041e\u0441\u0442\u0430\u0432\u043b\u044e \u0441\u0441\u044b\u043b\u043a\u0443 \u0437\u0434\u0435\u0441\u044c \u043d\u0430 \u0431\u0443\u0434\u0443\u0449\u0435\u0435.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0414\u043b\u044f \u043d\u0430\u0447\u0430\u043b\u0430 \u0434\u0430\u0432\u0430\u0439\u0442\u0435 \u043f\u043e\u0434\u0442\u0432\u0435\u0440\u0434\u0438\u043c, \u043a\u0430\u043a\u0443\u044e \u0432\u0435\u0440\u0441\u0438\u044e \u043c\u044b \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c: php -v \u0417\u0434\u0435\u0441\u044c \u0434\u043e\u043b\u0436\u043d\u0430 \u043e\u0442\u043e\u0431\u0440\u0430\u0436\u0430\u0442\u044c\u0441\u044f \u0432\u0435\u0440\u0441\u0438\u044f PHP \u0432\u043c\u0435\u0441\u0442\u0435 \u0441 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0435\u0439 \u043e \u0441\u0431\u043e\u0440\u043a\u0435. \u041d\u0430\u043c \u043d\u0435\u043e\u0431\u0445\u043e\u0434\u0438\u043c\u043e \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043d\u0435\u0441\u043a\u043e\u043b\u044c\u043a\u043e \u043f\u0430\u043a\u0435\u0442\u043e\u0432, \u043a\u043e\u0442\u043e\u0440\u044b\u0435 \u043f\u043e\u043c\u043e\u0433\u0443\u0442 \u043d\u0430\u043c \u0434\u043e\u0431\u0430\u0432\u043b\u044f\u0442\u044c \u0432\u043d\u0435\u0448\u043d\u0438\u0435 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438: sudo apt update sudo apt install -y lsb-release ca-certificates apt-transport-https software-properties-common gnupg curl<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[63,4,80],"tags":[19,107,18],"class_list":["post-1370","post","type-post","status-publish","format-standard","hentry","category-nextcloud","category-raspberry_pi","category-80","tag-nextcloud","tag-php8-3","tag-raspberry-pi"],"_links":{"self":[{"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1370","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1370"}],"version-history":[{"count":7,"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1370\/revisions"}],"predecessor-version":[{"id":1378,"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=\/wp\/v2\/posts\/1370\/revisions\/1378"}],"wp:attachment":[{"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1370"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1370"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/harrykuch.ru\/wordpress\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1370"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}