{"id":4857,"date":"2021-09-01T15:29:47","date_gmt":"2021-09-01T15:29:47","guid":{"rendered":"https:\/\/tst-amo.net.ua\/blog\/?p=4857"},"modified":"2021-09-01T15:32:36","modified_gmt":"2021-09-01T15:32:36","slug":"php-7-2-%d0%be%d0%b1%d0%bd%d0%be%d0%b2%d0%bb%d1%8f%d0%b5%d0%bc-%d0%bd%d0%b0-php-7-4","status":"publish","type":"post","link":"https:\/\/tst-amo.net.ua\/blog\/?p=4857","title":{"rendered":"\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 php72 \u043d\u0430 php74"},"content":{"rendered":"<p>WordPress \u0437\u0430\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b php \u0432\u0435\u0440\u0441\u0438\u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c 7.4. \u0423\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0435\u043c \u0435\u0433\u043e.<\/p>\n<p>\u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0433\u043e, \u0447\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 php:<\/p>\n<pre># rpm -qa | grep php &gt; php72-list-all.txt<\/pre>\n<p>\u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439:<\/p>\n<pre># yum remove  php-php-gettext-1.0.12-1.el7.noarch php72w-imap-7.2.34-1.w7.x86_64 php72w-ldap-7.2.34-1.w7.x86_64 phpMyAdmin-4.4.15.10-6.el7.noarch php72-php-common-7.2.34-7.el7.remi.x86_64 php-fedora-autoloader-1.0.1-2.el7.noarch php72w-pear-1.10.12-1.w7.noarch php72w-mysql-7.2.34-1.w7.x86_64 php72w-tidy-7.2.34-1.w7.x86_64 php72-runtime-2.0-1.el7.remi.x86_64 php72w-pecl-igbinary-3.1.2-1.w7.x86_64 php72w-bcmath-7.2.34-1.w7.x86_64 php72w-cli-7.2.34-1.w7.x86_64 php72-php-pecl-rar-4.2.0-1.el7.remi.x86_64 php72w-pecl-redis-3.1.6-1.w7.x86_64 php-tcpdf-dejavu-sans-fonts-6.2.26-1.el7.noarch php72w-common-7.2.34-1.w7.x86_64 php72w-mbstring-7.2.34-1.w7.x86_64 php72w-fpm-7.2.34-1.w7.x86_64 php72w-gd-7.2.34-1.w7.x86_64 mod_php72w-7.2.34-1.w7.x86_64 php72-php-json-7.2.34-7.el7.remi.x86_64 php72w-pdo-7.2.34-1.w7.x86_64 php72w-pspell-7.2.34-1.w7.x86_64 php72w-pecl-memcached-3.1.5-1.w7.x86_64 php72w-xml-7.2.34-1.w7.x86_64 php72w-process-7.2.34-1.w7.x86_64 php72w-pecl-apcu-5.1.18-1.w7.x86_64 php-tcpdf-6.2.26-1.el7.noarch php72w-intl-7.2.34-1.w7.x86_64<\/pre>\n<p>\u0418 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u043d\u043e\u0432\u044b\u0435 \u043f\u0430\u043a\u0435\u0442\u044b:<\/p>\n<pre># yum install php-php-gettext php74-imap php74-ldap php74-php-common php-fedora-autoloader php74-pear php74-mysql php74-tidy php74-runtime php74-pecl-igbinary php74-bcmath php74-cli php74-php-pecl-rar php74-pecl-redis php-tcpdf-dejavu-sans-fonts php74-common php74-mbstring php74-fpm php74-gd mod_php74 php74-php-json php74-pdo php74-pspell php74-pecl-memcached php74-xml php74-process php74-pecl-apcu php-tcpdf php74-intl<\/pre>\n<p>\u0412\u044b\u043b\u0435\u0437\u043b\u0430 \u043e\u0448\u0438\u0431\u043a\u0430:<\/p>\n<pre>\u041e\u0448\u0438\u0431\u043a\u0430: php74-json conflicts with php-common-5.4.16-48.el7.x86_64\r\n\u041e\u0448\u0438\u0431\u043a\u0430: php74-common conflicts with php-common-5.4.16-48.el7.x86_64<\/pre>\n<pre>\u0421\u043d\u0430\u0447\u0430\u043b\u0430 \u043e\u0431\u043d\u043e\u0432\u0438\u043c \u044d\u0442\u043e\u0442 \u043f\u0430\u043a\u0435\u0442:\u00a0\r\n# yum install php74-php-common\r\n\r\nDownloading packages:\r\n(1\/3): php74-php-json-7.4.23-1.el7.remi.x86_64.rpm | 76 kB 00:00:00\r\n(2\/3): php74-php-common-7.4.23-1.el7.remi.x86_64.rpm | 695 kB 00:00:00\r\n(3\/3): php74-runtime-1.0-3.el7.remi.x86_64.rpm | 1.1 MB 00:00:00\r\n-------------------------------------------------------------------------------------------------------------------------------------------------------------\r\n\u041e\u0431\u0449\u0438\u0439 \u0440\u0430\u0437\u043c\u0435\u0440 1.8 MB\/s | 1.9 MB 00:00:01\r\nRunning transaction check\r\nRunning transaction test\r\nTransaction test succeeded\r\nRunning transaction\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 : php74-runtime-1.0-3.el7.remi.x86_64 1\/3\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 : php74-php-common-7.4.23-1.el7.remi.x86_64 2\/3\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043a\u0430 : php74-php-json-7.4.23-1.el7.remi.x86_64 3\/3\r\n\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 : php74-php-json-7.4.23-1.el7.remi.x86_64 1\/3\r\n\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 : php74-php-common-7.4.23-1.el7.remi.x86_64 2\/3\r\n\u041f\u0440\u043e\u0432\u0435\u0440\u043a\u0430 : php74-runtime-1.0-3.el7.remi.x86_64 3\/3\r\n\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e:\r\nphp74-php-common.x86_64 0:7.4.23-1.el7.remi\r\n\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:\r\nphp74-php-json.x86_64 0:7.4.23-1.el7.remi<\/pre>\n<p>\u0418\u0434\u0435\u043c \u0434\u0430\u043b\u044c\u0448\u0435, \u043f\u0440\u043e\u0431\u0443\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0435:<\/p>\n<pre># yum install php-php-gettext php74-imap php74-ldap php-fedora-autoloader php74-pear php74-mysql php74-tidy php74-runtime php74-pecl-igbinary php74-bcmath php74-cli php74-pecl-redis php-tcpdf-dejavu-sans-fonts php74-common php74-mbstring php74-gd mod_php74 php74-pdo php74-pspell php74-pecl-memcached php74-xml php74-process php74-intl\r\n\r\n\u041f\u0430\u043a\u0435\u0442\u0430 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c php74-pear \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e.\r\n\u041f\u0430\u043a\u0435\u0442\u0430 \u0441 \u043d\u0430\u0437\u0432\u0430\u043d\u0438\u0435\u043c php74-mysql \u043d\u0435 \u043d\u0430\u0439\u0434\u0435\u043d\u043e.<\/pre>\n<pre># yum install php74\r\n\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043e:\r\nphp-tcpdf.noarch 0:6.2.26-1.el7\r\n\r\n\u0423\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b \u0437\u0430\u0432\u0438\u0441\u0438\u043c\u043e\u0441\u0442\u0438:\r\noniguruma.x86_64 0:6.8.2-1.el7 php-fedora-autoloader.noarch 0:1.0.1-2.el7 php74-bcmath.x86_64 0:7.4.21-1.el7.ius\r\nphp74-gd.x86_64 0:7.4.21-1.el7.ius php74-json.x86_64 0:7.4.21-1.el7.ius php74-mbstring.x86_64 0:7.4.21-1.el7.ius\r\nphp74-process.x86_64 0:7.4.21-1.el7.ius php74-tidy.x86_64 0:7.4.21-1.el7.ius php74-xml.x86_64 0:7.4.21-1.el7.ius<\/pre>\n<pre># yum install php-php-gettext php74-imap php74-ldap php74-pear php74-mysql php74-runtime php74-pecl-igbinary php74-cli php74-pecl-redis php-tcpdf-dejavu-sans-fonts mod_php74 php74-pdo php74-pspell php74-pecl-memcached php74-process php74-intl\r\n# yum install php74-mysqlnd\r\n# yum install php74-php-pear\r\n# yum install php74-php-fpm\r\n# yum install php74-fpm-nginx<\/pre>\n<p>\u0414\u043b\u044f owncloud \u043f\u043e\u043d\u0430\u0434\u043e\u0431\u0438\u043b\u043e\u0441\u044c \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u0442\u0430\u043a \u0432\u044b\u0434\u0430\u0432\u0430\u043b \u043e\u0448\u0438\u0431\u043a\u0443:<\/p>\n<pre>\u041d\u0435 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d PHP-\u043c\u043e\u0434\u0443\u043b\u044c zip.\r\n\u041f\u043e\u0436\u0430\u043b\u0443\u0439\u0441\u0442\u0430, \u043f\u043e\u043f\u0440\u043e\u0441\u0438\u0442\u0435 \u0430\u0434\u043c\u0438\u043d\u0438\u0441\u0442\u0440\u0430\u0442\u043e\u0440\u0430 \u0441\u0435\u0440\u0432\u0435\u0440\u0430 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u0438\u0442\u044c \u043c\u043e\u0434\u0443\u043b\u044c.<\/pre>\n<pre># yum install php-pclzip.noarch php74-php-pecl-zip php74-pecl-zip<\/pre>\n<p>\u041d\u043e \u0438 \u043f\u043e\u0441\u043b\u0435 \u043e\u043d \u043d\u0435 \u0432\u0438\u0434\u0435\u043b \u044d\u0442\u0438 \u043c\u043e\u0434\u0443\u043b\u0438, \u0445\u043e\u0442\u044f \u043e\u043d\u0438 \u0435\u0441\u0442\u044c \u0438 \u0441\u0435\u0440\u0432\u0438\u0441 \u043f\u0435\u0440\u0435\u0437\u0430\u043f\u0443\u0449\u0435\u043d:<\/p>\n<pre># php -m<\/pre>\n<p>\u0432\u0441\u0435 \u043c\u043e\u0434\u0443\u043b\u0438 \u0443\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u044b. \u041f\u043e\u043c\u043e\u0433\u043b\u0430 \u043f\u0435\u0440\u0435\u0437\u0430\u0433\u0440\u0443\u0437\u043a\u0430.<\/p>\n<p>\u0412 \u0440\u0435\u043f\u043e\u0437\u0438\u0442\u043e\u0440\u0438\u0438 \u0435\u0441\u0442\u044c phpMyAdmin5.0 \u043d\u043e \u0432 \u043d\u0435\u043c \u043d\u0435\u0442 \u043f\u043e\u0434\u0434\u0435\u0440\u0436\u043a\u0438 php7.4. \u041f\u043e\u044d\u0442\u043e\u043c\u0443 \u0443\u0441\u0442\u0430\u043d\u0430\u0432\u043b\u0438\u0432\u0430\u0435\u043c \u0432\u0440\u0443\u0447\u043d\u0443\u044e:<\/p>\n<pre># cd \/home\/www\r\n# wget https:\/\/files.phpmyadmin.net\/phpMyAdmin\/5.1.1\/phpMyAdmin-5.1.1-all-languages.tar.gz<\/pre>\n<p>\u0420\u0430\u0441\u043f\u0430\u043a\u043e\u0432\u044b\u0432\u0430\u0435\u043c, \u043f\u0435\u0440\u0435\u0438\u043c\u0435\u043d\u043e\u0432\u044b\u0432\u0430\u0435\u043c \u0438 \u043a\u043e\u043f\u0438\u0440\u0443\u0435\u043c \u0432 \/usr\/share\/<br \/>\n\u041f\u0440\u043e\u0432\u0435\u0440\u044f\u0435\u043c.<\/p>\n<pre># php -v\r\nPHP 7.4.21 (cli) (built: Jul 2 2021 17:40:37) ( NTS )<\/pre>\n<div class=\"pdfprnt-buttons pdfprnt-buttons-post pdfprnt-bottom-right\"><a href=\"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=wpv2posts4857&print=pdf\" class=\"pdfprnt-button pdfprnt-button-pdf\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/tst-amo.net.ua\/blog\/wp-content\/plugins\/pdf-print\/images\/pdf.png\" alt=\"image_pdf\" title=\"View PDF\" \/><\/a><a href=\"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=wpv2posts4857&print=print\" class=\"pdfprnt-button pdfprnt-button-print\" target=\"_blank\"><img decoding=\"async\" src=\"https:\/\/tst-amo.net.ua\/blog\/wp-content\/plugins\/pdf-print\/images\/print.png\" alt=\"image_print\" title=\"Print Content\" \/><\/a><\/div>","protected":false},"excerpt":{"rendered":"<p>WordPress \u0437\u0430\u0442\u0440\u0435\u0431\u043e\u0432\u0430\u043b php \u0432\u0435\u0440\u0441\u0438\u0438 \u043c\u0438\u043d\u0438\u043c\u0443\u043c 7.4. \u0423\u0434\u043e\u0432\u043b\u0435\u0442\u0432\u043e\u0440\u044f\u0435\u043c \u0435\u0433\u043e. \u041f\u0435\u0440\u0432\u044b\u043c \u0434\u0435\u043b\u043e\u043c \u0441\u043c\u043e\u0442\u0440\u0438\u043c \u0441\u043f\u0438\u0441\u043e\u043a \u0432\u0441\u0435\u0433\u043e, \u0447\u0442\u043e \u0441\u0432\u044f\u0437\u0430\u043d\u043e \u0441 php: # rpm -qa | grep php &gt; php72-list-all.txt \u0423\u0434\u0430\u043b\u044f\u0435\u043c \u043e\u0434\u043d\u043e\u0439 \u043a\u043e\u043c\u0430\u043d\u0434\u043e\u0439: # yum remove php-php-gettext-1.0.12-1.el7.noarch php72w-imap-7.2.34-1.w7.x86_64 php72w-ldap-7.2.34-1.w7.x86_64 phpMyAdmin-4.4.15.10-6.el7.noarch php72-php-common-7.2.34-7.el7.remi.x86_64 php-fedora-autoloader-1.0.1-2.el7.noarch php72w-pear-1.10.12-1.w7.noarch php72w-mysql-7.2.34-1.w7.x86_64 php72w-tidy-7.2.34-1.w7.x86_64 php72-runtime-2.0-1.el7.remi.x86_64 php72w-pecl-igbinary-3.1.2-1.w7.x86_64 php72w-bcmath-7.2.34-1.w7.x86_64 php72w-cli-7.2.34-1.w7.x86_64 php72-php-pecl-rar-4.2.0-1.el7.remi.x86_64 php72w-pecl-redis-3.1.6-1.w7.x86_64 php-tcpdf-dejavu-sans-fonts-6.2.26-1.el7.noarch php72w-common-7.2.34-1.w7.x86_64 php72w-mbstring-7.2.34-1.w7.x86_64 php72w-fpm-7.2.34-1.w7.x86_64 php72w-gd-7.2.34-1.w7.x86_64 mod_php72w-7.2.34-1.w7.x86_64 php72-php-json-7.2.34-7.el7.remi.x86_64 php72w-pdo-7.2.34-1.w7.x86_64 php72w-pspell-7.2.34-1.w7.x86_64 &#8230;<\/p>\n<p><a href=\"https:\/\/tst-amo.net.ua\/blog\/?p=4857\" class=\"more-link\">Continue reading &lsquo;\u041e\u0431\u043d\u043e\u0432\u043b\u0435\u043d\u0438\u0435 php72 \u043d\u0430 php74&rsquo; &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[48,47,126,99,135,14,100,82],"tags":[],"class_list":["post-4857","post","type-post","status-publish","format-standard","hentry","category-centos","category-linux","category-mariadb","category-nginx","category-owncloud","category-php","category-php-fpm","category-phpmyadmin"],"_links":{"self":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4857"}],"collection":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=4857"}],"version-history":[{"count":2,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4857\/revisions"}],"predecessor-version":[{"id":4860,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=\/wp\/v2\/posts\/4857\/revisions\/4860"}],"wp:attachment":[{"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=4857"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=4857"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tst-amo.net.ua\/blog\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=4857"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}