{"id":2836,"date":"2019-05-05T15:56:02","date_gmt":"2019-05-05T12:56:02","guid":{"rendered":"https:\/\/kifarunix.com\/?p=2836"},"modified":"2019-05-05T15:56:04","modified_gmt":"2019-05-05T12:56:04","slug":"install-php-7-3-4-on-fedora-30","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-php-7-3-4-on-fedora-30\/","title":{"rendered":"Install PHP 7.3.4 on Fedora 30"},"content":{"rendered":"\n<p>In this guide, we are going to learn how to install PHP 7.3.4 on Fedora 30. PHP 7.3.4 has been released a security release which also contains several bug fixes. PHP 7.3 users are encouraged to upgrade to this version.<\/p>\n\n\n\n<p>Some of the bug fixes that have been addressed as defined on the <a href=\"https:\/\/www.php.net\/ChangeLog-7.php#7.3.4\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\"Changelog (opens in a new tab)\">Changelog<\/a> of this release include;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Core:<ul><li>Nullptr deref in zend_compile_expr.<\/li><li>Segmentation fault on break 2147483648.<\/li><li>Anonymous classes can lose their interface information.<\/li><li>Stack Overflow caused by circular reference in garbage collection.<\/li><li>Wrong value for &#8216;syslog.filter&#8217; documented in php.ini.<\/li><\/ul><\/li><li>Apache2Handler:<ul><li>BOM in sapi\/apache2handler\/php_functions.c.<\/li><\/ul><\/li><li>Bcmath:<ul><li>bcpow() implementation related to gcc compiler optimization.<\/li><\/ul><\/li><li>CLI Server:<ul><li>Incorrect IP set to $_SERVER[&#8216;REMOTE_ADDR&#8217;] on the localhost.<\/li><\/ul><\/li><li>COM:<ul><li>Crash when php unload.<\/li><\/ul><\/li><li>EXIF:<ul><li>Heap-buffer-overflow in php_ifd_get32s). (CVE-2019-11034.<\/li><li>Heap-buffer-overflow in exif_iif_add_value. (CVE-2019-11035)<\/li><\/ul><\/li><li>FPM:<ul><li>FPM fails to build on AIX due to missing WCOREDUMP.<\/li><\/ul><\/li><li>GD:<ul><li>Writing truecolor images as GIF ignores interlace flag.<\/li><\/ul><\/li><li>MySQLi:<ul><li>mysqli_fetch_field hangs scripts.<\/li><\/ul><\/li><li>Opcache:<ul><li>Incorrect pi node insertion for jmpznz with identical successors.<\/li><\/ul><\/li><li>PCRE:<ul><li>preg_split does not raise an error on invalid UTF-8.<\/li><\/ul><\/li><li>Phar:<ul><li>Crash on Big_Endian platform.<\/li><\/ul><\/li><li>phpdbg:<ul><li>phpdbg break cmd aliases listed in help do not match actual aliases).<\/li><\/ul><\/li><li>sodium:<ul><li>(sign_detached() strings not terminated.<\/li><\/ul><\/li><li>SQLite3:<ul><li>Added sqlite3.defensive INI directive.<\/li><\/ul><\/li><li>Standard:<ul><li>Segmentation fault when using undefined constant in custom wrapper.<\/li><li>Crash in extract() when overwriting extracted array.<\/li><li>var_export() does not create a parsable value for PHP_INT_MIN.<\/li><li>FTP stream wrapper should set the directory as executable.<\/li><\/ul><\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">Install PHP 7.3.4 on Fedora 30<\/h2>\n\n\n\n<p>PHP is available on Fedora repos by default. To check if which PHP package provides PHP 7.3.4;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>dnf provides php\nphp-7.3.4-1.fc30.x86_64 : PHP scripting language for creating dynamic web sites\nRepo        : fedora\nMatched from:\nProvide    : php = 7.3.4-1.fc30<\/code><\/pre>\n\n\n\n<p>Hence, to install PHP 7.3.4 on Fedora 30;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install php<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nDependencies resolved.\n=======================================================================================================================================================\n Package                                  Architecture                   Version                                  Repository                      Size\n=======================================================================================================================================================\nInstalling:\n php                                      x86_64                         7.3.4-1.fc30                             fedora                         2.8 M\nInstalling dependencies:\n...<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Verify PHP version<\/h3>\n\n\n\n<p>Once the installation is done, you can verify the installed version by executing;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php -v\nPHP 7.3.4 (cli) (built: Apr  2 2019 13:48:50) ( NTS )\nCopyright (c) 1997-2018 The PHP Group\nZend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies<\/code><\/pre>\n\n\n\n<p>That is it on how to install PHP 7.3.4 on Fedora 30. You can also install PHP extensions depending your requirements.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install php-&lt;extension-name><\/code><\/pre>\n\n\n\n<p>Similar guides have been covered on out other articles;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/installing-php-7-3-3-on-centos-7-6\/\" target=\"_blank\">Installing PHP 7.3.3 on CentOS 7.6<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-phpmyadmin-with-nginx-on-freebsd-12\/\" target=\"_blank\">Install phpMyAdmin with Nginx on FreeBSD 12<\/a><\/li><li><a href=\"https:\/\/kifarunix.com\/how-to-install-php-7-3-3-on-ubuntu-18-04\/\">How to Install PHP 7.3.3 on Ubuntu 18.04<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/install-nginx-mysql-php-femp-stack-on-freebsd-12\/\" target=\"_blank\">Install Nginx, MySQL, PHP (FEMP) Stack on FreeBSD 12<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/how-to-install-phpmyadmin-on-freebsd-12\/\" target=\"_blank\">How to Install phpMyAdmin on FreeBSD 12<\/a><\/li><li><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/kifarunix.com\/how-to-install-lemp-nginxmariadbphp7-2-stack-on-fedora-28-fedora-29\/\" target=\"_blank\">How to Install LEMP (Nginx,MariaDB,PHP7.2) Stack on Fedora 28 \/ Fedora 29<\/a><\/li><\/ul>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this guide, we are going to learn how to install PHP 7.3.4 on Fedora 30. PHP 7.3.4 has been released a security release which<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,342],"tags":[924,203,343],"class_list":["post-2836","post","type-post","status-publish","format-standard","hentry","category-howtos","category-php","tag-fedora-30","tag-php","tag-php-7-3","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2836"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=2836"}],"version-history":[{"count":2,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2836\/revisions"}],"predecessor-version":[{"id":2838,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/2836\/revisions\/2838"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=2836"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=2836"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=2836"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}