Page MenuHomePhorge

Remove outdated PHP version suffixes in package names on "Missing Required Extensions" and replace yum with dnf
Closed, ResolvedPublic

Description

Installing Phorge and missing some required PHP extensions, it shows an error page "Missing Required Extensions" - "Required PHP extensions are not installed".
The page explicitly lists potential package names with the suffix php5:

yumdeb19-36-17.png (487×971 px, 44 KB)

Given that PHP 7/8 got released a while ago, and that Debian Bullseye shipped php7.3-* and now ships php7.4-* suffixed packages and also php-* aliased packages, the current assumption php5-* feels outdated and misleading:

yumdeb19-44-42.png (275×893 px, 39 KB)

Also, on Red Hat systems, yum got replaced by dnf in Fedora 22 in the year 2014. It also makes sense to change these two strings, cf. https://en.wikipedia.org/wiki/Red_Hat_Enterprise_Linux#Product_life_cycle for RHEL.

The file to edit in Phorge is src/applications/config/view/PhabricatorSetupIssueView.php. Thus there are in total four strings to update.