Install PHP 7.3.4 on Fedora 30

|
Published:
|
|

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.

Some of the bug fixes that have been addressed as defined on the Changelog of this release include;

  • Core:
    • Nullptr deref in zend_compile_expr.
    • Segmentation fault on break 2147483648.
    • Anonymous classes can lose their interface information.
    • Stack Overflow caused by circular reference in garbage collection.
    • Wrong value for ‘syslog.filter’ documented in php.ini.
  • Apache2Handler:
    • BOM in sapi/apache2handler/php_functions.c.
  • Bcmath:
    • bcpow() implementation related to gcc compiler optimization.
  • CLI Server:
    • Incorrect IP set to $_SERVER[‘REMOTE_ADDR’] on the localhost.
  • COM:
    • Crash when php unload.
  • EXIF:
    • Heap-buffer-overflow in php_ifd_get32s). (CVE-2019-11034.
    • Heap-buffer-overflow in exif_iif_add_value. (CVE-2019-11035)
  • FPM:
    • FPM fails to build on AIX due to missing WCOREDUMP.
  • GD:
    • Writing truecolor images as GIF ignores interlace flag.
  • MySQLi:
    • mysqli_fetch_field hangs scripts.
  • Opcache:
    • Incorrect pi node insertion for jmpznz with identical successors.
  • PCRE:
    • preg_split does not raise an error on invalid UTF-8.
  • Phar:
    • Crash on Big_Endian platform.
  • phpdbg:
    • phpdbg break cmd aliases listed in help do not match actual aliases).
  • sodium:
    • (sign_detached() strings not terminated.
  • SQLite3:
    • Added sqlite3.defensive INI directive.
  • Standard:
    • Segmentation fault when using undefined constant in custom wrapper.
    • Crash in extract() when overwriting extracted array.
    • var_export() does not create a parsable value for PHP_INT_MIN.
    • FTP stream wrapper should set the directory as executable.

Install PHP 7.3.4 on Fedora 30

PHP is available on Fedora repos by default. To check if which PHP package provides PHP 7.3.4;

dnf provides php
php-7.3.4-1.fc30.x86_64 : PHP scripting language for creating dynamic web sites
Repo        : fedora
Matched from:
Provide    : php = 7.3.4-1.fc30

Hence, to install PHP 7.3.4 on Fedora 30;

dnf install php
...
Dependencies resolved.
=======================================================================================================================================================
 Package                                  Architecture                   Version                                  Repository                      Size
=======================================================================================================================================================
Installing:
 php                                      x86_64                         7.3.4-1.fc30                             fedora                         2.8 M
Installing dependencies:
...

Verify PHP version

Once the installation is done, you can verify the installed version by executing;

php -v
PHP 7.3.4 (cli) (built: Apr  2 2019 13:48:50) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.4, Copyright (c) 1998-2018 Zend Technologies

That is it on how to install PHP 7.3.4 on Fedora 30. You can also install PHP extensions depending your requirements.

dnf install php-<extension-name>

Similar guides have been covered on out other articles;

SUPPORT US VIA A VIRTUAL CUP OF COFFEE

We're passionate about sharing our knowledge and experiences with you through our blog. If you appreciate our efforts, consider buying us a virtual coffee. Your support keeps us motivated and enables us to continually improve, ensuring that we can provide you with the best content possible. Thank you for being a coffee-fueled champion of our work!

Photo of author
koromicha
I am the Co-founder of Kifarunix.com, Linux and the whole FOSS enthusiast, Linux System Admin and a Blue Teamer who loves to share technological tips and hacks with others as a way of sharing knowledge as: "In vain have you acquired knowledge if you have not imparted it to others".

Leave a Comment