{"id":15824,"date":"2023-09-07T10:22:47","date_gmt":"2023-09-07T07:22:47","guid":{"rendered":"https:\/\/unihost.com\/help\/%d1%8f%d0%ba-%d0%be%d0%bd%d0%be%d0%b2%d0%b8%d1%82%d0%b8-php-%d0%b2%d0%b5%d1%80%d1%81%d1%96%d1%8e-%d0%bd%d0%b0-centos-7\/"},"modified":"2026-08-11T12:22:29","modified_gmt":"2026-08-11T09:22:29","slug":"how-to-update-php-centos-7","status":"publish","type":"post","link":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/","title":{"rendered":"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u0432\u0435\u0440\u0441\u0456\u044e \u043d\u0430 CentOS 7"},"content":{"rendered":"<div style=\"background-color: #fde8e8; border: 1px solid #f5c2c2; border-radius: 6px; padding: 14px 16px; font-family: Ubuntu, Arial, sans-serif; font-size: 14px; color: #5c1a1a; line-height: 1.5; display: flex; align-items: flex-start; gap: 10px;\">\n<p><span style=\"font-size: 12pt; line-height: 1; flex-shrink: 0; font-family: Ubuntu, sans-serif;\">&#x26a0;<\/span><\/p>\n<p><span style=\"font-size: 12pt; font-family: Ubuntu, sans-serif;\"><strong>CentOS 7 \u0434\u043e\u0441\u044f\u0433 \u043a\u0456\u043d\u0446\u044f \u0436\u0438\u0442\u0442\u0454\u0432\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0443 30 \u0447\u0435\u0440\u0432\u043d\u044f 2024 \u0440\u043e\u043a\u0443. \u0412\u0456\u043d \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u0440\u0438\u043c\u0443\u0454 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0431\u0435\u0437\u043f\u0435\u043a\u0438. \u042f\u043a\u0449\u043e \u0432\u0438 \u0432\u0441\u0435 \u0449\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u0435 CentOS 7, \u043f\u043b\u0430\u043d\u0443\u0439\u0442\u0435 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u044e \u043d\u0430 AlmaLinux 9 \u0430\u0431\u043e Rocky Linux 9 \u2014 \u043e\u0431\u0438\u0434\u0432\u0430 \u0454 \u0431\u0435\u0437\u043a\u043e\u0448\u0442\u043e\u0432\u043d\u0438\u043c\u0438, \u0441\u0443\u043c\u0456\u0441\u043d\u0438\u043c\u0438 \u0437 RHEL \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043a\u0430\u043c\u0438. \u0421\u0443\u0447\u0430\u0441\u043d\u0456 \u043a\u0440\u043e\u043a\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0456 \u043d\u0438\u0436\u0447\u0435.<\/strong><\/span>\n<\/div>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u041e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f PHP \u0432\u0430\u0436\u043b\u0438\u0432\u0456 \u0456 \u0434\u043b\u044f \u0431\u0435\u0437\u043f\u0435\u043a\u0438, \u0456 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0456 \u2014 \u043a\u043e\u0436\u043d\u0430 \u043d\u043e\u0432\u0430 \u043c\u0430\u0436\u043e\u0440\u043d\u0430 \u0432\u0435\u0440\u0441\u0456\u044f \u0448\u0432\u0438\u0434\u0448\u0430 \u0456 \u0437\u0430\u043a\u0440\u0438\u0432\u0430\u0454 \u0432\u0456\u0434\u043e\u043c\u0456 \u0432\u0440\u0430\u0437\u043b\u0438\u0432\u043e\u0441\u0442\u0456. \u0423 \u0446\u044c\u043e\u043c\u0443 \u043f\u043e\u0441\u0456\u0431\u043d\u0438\u043a\u0443 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u043e, \u044f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi (\u0432\u0441\u0435 \u0449\u0435 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u043e \u0434\u043b\u044f \u0456\u0441\u043d\u0443\u044e\u0447\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0456\u0432), \u0430 \u043f\u043e\u0442\u0456\u043c \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u0448\u043b\u044f\u0445 \u043d\u0430 AlmaLinux 9 \u0456 Rocky Linux 9 \u2014 \u0441\u0430\u043c\u0435 \u0442\u0443\u0434\u0438 \u0432\u0430\u0440\u0442\u043e \u043f\u0435\u0440\u0435\u0445\u043e\u0434\u0438\u0442\u0438 \u043d\u043e\u0432\u0438\u043c \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u043c.<\/span><\/p>\n<h2><span style=\"font-size: 12pt; font-family: Ubuntu, sans-serif;\"><b>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435 \u043f\u043e\u0442\u043e\u0447\u043d\u0443 \u0432\u0435\u0440\u0441\u0456\u044e PHP<\/b><\/span><\/h2>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">php -v<\/span><\/pre>\n<h2><span style=\"font-size: 12pt; font-family: Ubuntu, sans-serif;\"><b>\u041e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f PHP \u043d\u0430 CentOS 7 (\u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0439 Remi)<\/b><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u0421\u0442\u0430\u043d\u0434\u0430\u0440\u0442\u043d\u0456 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0457 CentOS 7 \u043c\u0456\u0441\u0442\u044f\u0442\u044c \u0441\u0442\u0430\u0440\u0443 \u0432\u0435\u0440\u0441\u0456\u044e PHP. \u0420\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0439 Remi \u043d\u0430\u0434\u0430\u0454 \u0430\u043a\u0442\u0443\u0430\u043b\u044c\u043d\u0456 \u0432\u0435\u0440\u0441\u0456\u0457. \u0426\u0456 \u043a\u0440\u043e\u043a\u0438 \u044f\u043a \u0456 \u0440\u0430\u043d\u0456\u0448\u0435 \u043f\u0440\u0430\u0446\u044e\u044e\u0442\u044c \u043d\u0430 \u0456\u0441\u043d\u0443\u044e\u0447\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0430\u0445 CentOS 7:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a01. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u0457 EPEL \u0456 Remi:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo yum install -y epel-release yum-utils<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo yum install -y https:\/\/rpms.remirepo.net\/enterprise\/remi-release-7.rpm<\/span><\/pre>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a02. \u0423\u0432\u0456\u043c\u043a\u043d\u0456\u0442\u044c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0443 \u0432\u0435\u0440\u0441\u0456\u044e PHP (\u043f\u0440\u0438\u043a\u043b\u0430\u0434: PHP 8.3):<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo yum-config-manager --enable remi-php83<\/span><\/pre>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a03. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c \u0430\u0431\u043e \u043e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u0456 \u043f\u043e\u0448\u0438\u0440\u0435\u043d\u0456 \u0440\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u043d\u044f:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo yum install -y php php-cli php-fpm php-mysqlnd php-gd \\<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 php-mbstring php-xml php-curl php-zip<\/span><\/pre>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a04. \u041f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0441\u0442\u0456\u0442\u044c \u0432\u0435\u0431-\u0441\u0435\u0440\u0432\u0456\u0441 \u0456 \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo systemctl restart php-fpm httpd<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">php -v<\/span><\/pre>\n<h2><span style=\"font-size: 12pt; font-family: Ubuntu, sans-serif;\"><b>\u0420\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u043e\u0432\u0430\u043d\u043e: PHP \u043d\u0430 AlmaLinux 9 \/ Rocky Linux 9<\/b><\/span><\/h2>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u041d\u0430 \u0441\u0443\u0447\u0430\u0441\u043d\u0438\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u0441\u0456\u043c\u0435\u0439\u0441\u0442\u0432\u0430 RHEL PHP \u043a\u0435\u0440\u0443\u0454\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043c\u043e\u0434\u0443\u043b\u0456 DNF \u0456 Remi. \u0426\u0435 \u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0435 \u043d\u0430\u043b\u0430\u0448\u0442\u0443\u0432\u0430\u043d\u043d\u044f \u0434\u043b\u044f \u043d\u043e\u0432\u0438\u0445 \u0441\u0435\u0440\u0432\u0435\u0440\u0456\u0432:<\/span><\/p>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a05. \u0414\u043e\u0434\u0430\u0439\u0442\u0435 EPEL \u0456 Remi:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo dnf install -y epel-release<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo dnf install -y https:\/\/rpms.remirepo.net\/enterprise\/remi-release-9.rpm<\/span><\/pre>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a06. \u0421\u043a\u0438\u043d\u044c\u0442\u0435 \u0456 \u0443\u0432\u0456\u043c\u043a\u043d\u0456\u0442\u044c \u043f\u043e\u0442\u0440\u0456\u0431\u043d\u0438\u0439 \u043f\u043e\u0442\u0456\u043a \u043c\u043e\u0434\u0443\u043b\u044f PHP:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo dnf module reset php -y<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo dnf module enable php:remi-8.3 -y<\/span><\/pre>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 \u00a07. \u0412\u0441\u0442\u0430\u043d\u043e\u0432\u0456\u0442\u044c PHP \u0456 \u0440\u043e\u0437\u0448\u0438\u0440\u0435\u043d\u043d\u044f, \u043f\u043e\u0442\u0456\u043c \u043f\u0435\u0440\u0435\u0432\u0456\u0440\u0442\u0435:<\/span><\/p>\n<pre><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo dnf install -y php php-fpm php-cli php-mysqlnd \\<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u00a0 \u00a0 php-gd php-mbstring php-xml php-curl php-zip<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">sudo systemctl restart php-fpm<\/span>\r\n\r\n<span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">php -v<\/span><\/pre>\n<p><span style=\"font-weight: 400; font-size: 12pt; font-family: Ubuntu, sans-serif;\">\u0417\u0430\u0432\u0436\u0434\u0438 \u0442\u0435\u0441\u0442\u0443\u0439\u0442\u0435 \u0437\u0430\u0441\u0442\u043e\u0441\u0443\u043d\u043e\u043a \u043f\u0456\u0441\u043b\u044f \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f PHP \u2014 \u043f\u0435\u0440\u0435\u0445\u0456\u0434 \u043d\u0430 \u043c\u0430\u0436\u043e\u0440\u043d\u0443 \u0432\u0435\u0440\u0441\u0456\u044e (\u043d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u0437 7.4 \u043d\u0430 8.3) \u043c\u043e\u0436\u0435 \u043f\u043e\u0442\u0440\u0435\u0431\u0443\u0432\u0430\u0442\u0438 \u043d\u0435\u0432\u0435\u043b\u0438\u043a\u0438\u0445 \u0437\u043c\u0456\u043d \u0443 \u043a\u043e\u0434\u0456. \u0421\u043f\u043e\u0447\u0430\u0442\u043a\u0443 \u0437\u0440\u043e\u0431\u0456\u0442\u044c \u0440\u0435\u0437\u0435\u0440\u0432\u043d\u0443 \u043a\u043e\u043f\u0456\u044e.<\/span><\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#x26a0; CentOS 7 \u0434\u043e\u0441\u044f\u0433 \u043a\u0456\u043d\u0446\u044f \u0436\u0438\u0442\u0442\u0454\u0432\u043e\u0433\u043e \u0446\u0438\u043a\u043b\u0443 30 \u0447\u0435\u0440\u0432\u043d\u044f 2024 \u0440\u043e\u043a\u0443. \u0412\u0456\u043d \u0431\u0456\u043b\u044c\u0448\u0435 \u043d\u0435 \u043e\u0442\u0440\u0438\u043c\u0443\u0454 \u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u0431\u0435\u0437\u043f\u0435\u043a\u0438. \u042f\u043a\u0449\u043e \u0432\u0438 \u0432\u0441\u0435 \u0449\u0435 \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0454\u0442\u0435 CentOS 7, \u043f\u043b\u0430\u043d\u0443\u0439\u0442\u0435 \u043c\u0456\u0433\u0440\u0430\u0446\u0456\u044e \u043d\u0430 AlmaLinux 9 \u0430\u0431\u043e Rocky Linux 9 \u2014 \u043e\u0431\u0438\u0434\u0432\u0430 \u0454 \u0431\u0435\u0437\u043a\u043e\u0448\u0442\u043e\u0432\u043d\u0438\u043c\u0438, \u0441\u0443\u043c\u0456\u0441\u043d\u0438\u043c\u0438 \u0437 RHEL \u043d\u0430\u0441\u0442\u0443\u043f\u043d\u0438\u043a\u0430\u043c\u0438. \u0421\u0443\u0447\u0430\u0441\u043d\u0456 \u043a\u0440\u043e\u043a\u0438 \u043d\u0430\u0432\u0435\u0434\u0435\u043d\u0456 \u043d\u0438\u0436\u0447\u0435. \u041e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f PHP \u0432\u0430\u0436\u043b\u0438\u0432\u0456 \u0456 \u0434\u043b\u044f \u0431\u0435\u0437\u043f\u0435\u043a\u0438, \u0456 \u0434\u043b\u044f \u043f\u0440\u043e\u0434\u0443\u043a\u0442\u0438\u0432\u043d\u043e\u0441\u0442\u0456 \u2014 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[807],"tags":[821,941,972,822,820],"class_list":["post-15824","post","type-post","status-publish","format-standard","hentry","category-uncategorized-uk","tag-centos-uk","tag-cloud-vps-uk","tag-dedicated-servers-uk","tag-php-uk","tag-php-"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 (\u0456 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 AlmaLinux\/Rocky)<\/title>\n<meta name=\"description\" content=\"\u041e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0441\u0443\u0447\u0430\u0441\u043d\u043e\u0433\u043e \u0448\u043b\u044f\u0445\u0443 \u0434\u043b\u044f AlmaLinux 9 \u0442\u0430 Rocky Linux 9. \u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0436\u043b\u0438\u0432\u0443 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443 \u043f\u0440\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 CentOS 7 \u0442\u0430 \u043a\u0440\u043e\u043a\u0438 PHP 8.3.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/\" \/>\n<meta property=\"og:locale\" content=\"uk_UA\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 (\u0456 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 AlmaLinux\/Rocky)\" \/>\n<meta property=\"og:description\" content=\"\u041e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0441\u0443\u0447\u0430\u0441\u043d\u043e\u0433\u043e \u0448\u043b\u044f\u0445\u0443 \u0434\u043b\u044f AlmaLinux 9 \u0442\u0430 Rocky Linux 9. \u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0436\u043b\u0438\u0432\u0443 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443 \u043f\u0440\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 CentOS 7 \u0442\u0430 \u043a\u0440\u043e\u043a\u0438 PHP 8.3.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/\" \/>\n<meta property=\"og:site_name\" content=\"Unihost.FAQ\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/unihost\/\" \/>\n<meta property=\"article:published_time\" content=\"2023-09-07T07:22:47+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-08-11T09:22:29+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png\" \/>\n\t<meta property=\"og:image:width\" content=\"250\" \/>\n\t<meta property=\"og:image:height\" content=\"141\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Unihost Support\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@unihost\" \/>\n<meta name=\"twitter:site\" content=\"@unihost\" \/>\n<meta name=\"twitter:label1\" content=\"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e\" \/>\n\t<meta name=\"twitter:data1\" content=\"Unihost Support\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 \u0445\u0432\u0438\u043b\u0438\u043d\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/\"},\"author\":{\"name\":\"Unihost Support\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#\\\/schema\\\/person\\\/bb5ae95f38577c920e6a7507888b715a\"},\"headline\":\"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u0432\u0435\u0440\u0441\u0456\u044e \u043d\u0430 CentOS 7\",\"datePublished\":\"2023-09-07T07:22:47+00:00\",\"dateModified\":\"2026-08-11T09:22:29+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/\"},\"wordCount\":215,\"publisher\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#organization\"},\"keywords\":[\"CentOS\",\"Cloud VPS\",\"dedicated servers\",\"PHP\",\"PHP-\u0412\u0435\u0440\u0441\u0456\u044f\"],\"articleSection\":[\"Uncategorized\"],\"inLanguage\":\"uk\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/\",\"name\":\"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 (\u0456 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 AlmaLinux\\\/Rocky)\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#website\"},\"datePublished\":\"2023-09-07T07:22:47+00:00\",\"dateModified\":\"2026-08-11T09:22:29+00:00\",\"description\":\"\u041e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0441\u0443\u0447\u0430\u0441\u043d\u043e\u0433\u043e \u0448\u043b\u044f\u0445\u0443 \u0434\u043b\u044f AlmaLinux 9 \u0442\u0430 Rocky Linux 9. \u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0436\u043b\u0438\u0432\u0443 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443 \u043f\u0440\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 CentOS 7 \u0442\u0430 \u043a\u0440\u043e\u043a\u0438 PHP 8.3.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/#breadcrumb\"},\"inLanguage\":\"uk\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/how-to-update-php-centos-7\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Unihost\",\"item\":\"https:\\\/\\\/unihost.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Help\",\"item\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u0432\u0435\u0440\u0441\u0456\u044e \u043d\u0430 CentOS 7\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#website\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/\",\"name\":\"Unihost.FAQ\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"uk\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#organization\",\"name\":\"Unihost\",\"alternateName\":\"Unihost\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/minio.php?2026\\\/01\\\/minio.png\",\"contentUrl\":\"https:\\\/\\\/unihost.com\\\/help\\\/minio.php?2026\\\/01\\\/minio.png\",\"width\":300,\"height\":300,\"caption\":\"Unihost\"},\"image\":{\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/unihost\\\/\",\"https:\\\/\\\/x.com\\\/unihost\",\"https:\\\/\\\/www.instagram.com\\\/unihost\\\/?hl=en\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/unihost-com\",\"https:\\\/\\\/www.youtube.com\\\/channel\\\/UCITKsxMDnslQY8brN3advgw\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/#\\\/schema\\\/person\\\/bb5ae95f38577c920e6a7507888b715a\",\"name\":\"Unihost Support\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"uk\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g\",\"caption\":\"Unihost Support\"},\"sameAs\":[\"https:\\\/\\\/unihost.com\\\/\"],\"url\":\"https:\\\/\\\/unihost.com\\\/help\\\/uk\\\/author\\\/support\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 (\u0456 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 AlmaLinux\/Rocky)","description":"\u041e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0441\u0443\u0447\u0430\u0441\u043d\u043e\u0433\u043e \u0448\u043b\u044f\u0445\u0443 \u0434\u043b\u044f AlmaLinux 9 \u0442\u0430 Rocky Linux 9. \u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0436\u043b\u0438\u0432\u0443 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443 \u043f\u0440\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 CentOS 7 \u0442\u0430 \u043a\u0440\u043e\u043a\u0438 PHP 8.3.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/","og_locale":"uk_UA","og_type":"article","og_title":"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 (\u0456 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 AlmaLinux\/Rocky)","og_description":"\u041e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0441\u0443\u0447\u0430\u0441\u043d\u043e\u0433\u043e \u0448\u043b\u044f\u0445\u0443 \u0434\u043b\u044f AlmaLinux 9 \u0442\u0430 Rocky Linux 9. \u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0436\u043b\u0438\u0432\u0443 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443 \u043f\u0440\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 CentOS 7 \u0442\u0430 \u043a\u0440\u043e\u043a\u0438 PHP 8.3.","og_url":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/","og_site_name":"Unihost.FAQ","article_publisher":"https:\/\/www.facebook.com\/unihost\/","article_published_time":"2023-09-07T07:22:47+00:00","article_modified_time":"2026-08-11T09:22:29+00:00","og_image":[{"width":250,"height":141,"url":"https:\/\/unihost.com\/help\/minio.php?.\/unihost-logo-alt.png","type":"image\/png"}],"author":"Unihost Support","twitter_card":"summary_large_image","twitter_creator":"@unihost","twitter_site":"@unihost","twitter_misc":{"\u041d\u0430\u043f\u0438\u0441\u0430\u043d\u043e":"Unihost Support","\u041f\u0440\u0438\u0431\u043b. \u0447\u0430\u0441 \u0447\u0438\u0442\u0430\u043d\u043d\u044f":"1 \u0445\u0432\u0438\u043b\u0438\u043d\u0430"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/#article","isPartOf":{"@id":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/"},"author":{"name":"Unihost Support","@id":"https:\/\/unihost.com\/help\/uk\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a"},"headline":"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u0432\u0435\u0440\u0441\u0456\u044e \u043d\u0430 CentOS 7","datePublished":"2023-09-07T07:22:47+00:00","dateModified":"2026-08-11T09:22:29+00:00","mainEntityOfPage":{"@id":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/"},"wordCount":215,"publisher":{"@id":"https:\/\/unihost.com\/help\/uk\/#organization"},"keywords":["CentOS","Cloud VPS","dedicated servers","PHP","PHP-\u0412\u0435\u0440\u0441\u0456\u044f"],"articleSection":["Uncategorized"],"inLanguage":"uk"},{"@type":"WebPage","@id":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/","url":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/","name":"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u043d\u0430 CentOS 7 (\u0456 \u043f\u0435\u0440\u0435\u0439\u0442\u0438 \u043d\u0430 AlmaLinux\/Rocky)","isPartOf":{"@id":"https:\/\/unihost.com\/help\/uk\/#website"},"datePublished":"2023-09-07T07:22:47+00:00","dateModified":"2026-08-11T09:22:29+00:00","description":"\u041e\u043d\u043e\u0432\u0456\u0442\u044c PHP \u043d\u0430 CentOS 7 \u0437\u0430 \u0434\u043e\u043f\u043e\u043c\u043e\u0433\u043e\u044e \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0456\u044e Remi, \u0430 \u0442\u0430\u043a\u043e\u0436 \u0441\u0443\u0447\u0430\u0441\u043d\u043e\u0433\u043e \u0448\u043b\u044f\u0445\u0443 \u0434\u043b\u044f AlmaLinux 9 \u0442\u0430 Rocky Linux 9. \u041c\u0456\u0441\u0442\u0438\u0442\u044c \u0432\u0430\u0436\u043b\u0438\u0432\u0443 \u043f\u0440\u0438\u043c\u0456\u0442\u043a\u0443 \u043f\u0440\u043e \u0437\u0430\u0432\u0435\u0440\u0448\u0435\u043d\u043d\u044f \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0438 CentOS 7 \u0442\u0430 \u043a\u0440\u043e\u043a\u0438 PHP 8.3.","breadcrumb":{"@id":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/#breadcrumb"},"inLanguage":"uk","potentialAction":[{"@type":"ReadAction","target":["https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/unihost.com\/help\/uk\/how-to-update-php-centos-7\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Unihost","item":"https:\/\/unihost.com\/"},{"@type":"ListItem","position":2,"name":"Help","item":"https:\/\/unihost.com\/help\/uk\/"},{"@type":"ListItem","position":3,"name":"\u042f\u043a \u043e\u043d\u043e\u0432\u0438\u0442\u0438 PHP \u0432\u0435\u0440\u0441\u0456\u044e \u043d\u0430 CentOS 7"}]},{"@type":"WebSite","@id":"https:\/\/unihost.com\/help\/uk\/#website","url":"https:\/\/unihost.com\/help\/uk\/","name":"Unihost.FAQ","description":"","publisher":{"@id":"https:\/\/unihost.com\/help\/uk\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/unihost.com\/help\/uk\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"uk"},{"@type":"Organization","@id":"https:\/\/unihost.com\/help\/uk\/#organization","name":"Unihost","alternateName":"Unihost","url":"https:\/\/unihost.com\/help\/uk\/","logo":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/unihost.com\/help\/uk\/#\/schema\/logo\/image\/","url":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","contentUrl":"https:\/\/unihost.com\/help\/minio.php?2026\/01\/minio.png","width":300,"height":300,"caption":"Unihost"},"image":{"@id":"https:\/\/unihost.com\/help\/uk\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/unihost\/","https:\/\/x.com\/unihost","https:\/\/www.instagram.com\/unihost\/?hl=en","https:\/\/www.linkedin.com\/company\/unihost-com","https:\/\/www.youtube.com\/channel\/UCITKsxMDnslQY8brN3advgw"]},{"@type":"Person","@id":"https:\/\/unihost.com\/help\/uk\/#\/schema\/person\/bb5ae95f38577c920e6a7507888b715a","name":"Unihost Support","image":{"@type":"ImageObject","inLanguage":"uk","@id":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/a0c9db17c2a0d93e8a0d5ac123f8c5db750ad4d3d5657369c0c4e480f5af77b8?s=96&d=mm&r=g","caption":"Unihost Support"},"sameAs":["https:\/\/unihost.com\/"],"url":"https:\/\/unihost.com\/help\/uk\/author\/support\/"}]}},"_links":{"self":[{"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/posts\/15824","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/comments?post=15824"}],"version-history":[{"count":2,"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/posts\/15824\/revisions"}],"predecessor-version":[{"id":20433,"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/posts\/15824\/revisions\/20433"}],"wp:attachment":[{"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/media?parent=15824"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/categories?post=15824"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/unihost.com\/help\/uk\/wp-json\/wp\/v2\/tags?post=15824"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}