View Issue Details

IDProjectCategoryView StatusLast Update
0017900CentOS-7phppublic2020-12-01 11:59
Reporternoloader 
PrioritynormalSeverityfeatureReproducibilityalways
Status closedResolutionduplicate 
Product Version 
Target VersionFixed in Version 
Summary0017900: CentOS 7 with SCL enabled only provides PHP 7.3.11
DescriptionHi Everyone,

My apologies for this report.

We have a CentOS 7 VM with Red Hat's SCL enabled. It runs our website and wiki at https://www.cryptopp.com. SCL is enabled so we can get an updated Apache, Python, PHP and friends.

Our current Mediawiki is 1.34. 1.34 is _not_ a Long Term Support (LTS) release. We have to migrate to Mediawiki 1.35. 1.35 is a LTS release. Mediawiki is 1.34 is now End of Life.

We cannot migrate to Mediawiki 1.35 at the moment because CentOS 7 and SCL only provides PHP 7.3.11. Mediawiki 1.35 requires PHP 7.3.19.

Also see https://bugs.centos.org/view.php?id=17826 and https://www.mediawiki.org/wiki/Talk:MediaWiki_1.35. It asks Mediawiki to downgrade their PHP requirements.
Steps To Reproduce1. Enable SCL
2. Install php73
3. Enable PHP 7.3 in /etc/profile.d

# cat /etc/profile.d/enable-scl-php73.sh
#!/usr/bin/env bash
source scl_source enable rh-php73
Additional InformationThe issue was previously reported and marked as fixed in https://bugs.centos.org/view.php?id=17826. I could not add a comment to the 17826 report, so I opened another report. My apologies for that.

Unfortunately, on a fully updated CentOS 7 machine with PHP 7.3 installed:

$ php --version
PHP 7.3.11 (cli) (built: Dec 10 2019 16:14:50) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.3.11, Copyright (c) 1998-2018 Zend Technologies

The reason for the second bug report is, Mediawiki 1.34 is now End of Life. We have to upgrade to Mediawiki 1.35. Also see "MediaWiki 1.34 is End of Life", https://lists.wikimedia.org/pipermail/mediawiki-announce/2020-November/000266.html.

-----

I'd like to provide the SCL version being provided by CentOS 7, but I am not sure how to do it. I don't know if this helps or not.

# yum info scl-utils.x86_64
Loaded plugins: auto-update-debuginfo, fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.advancedhosters.com
 * centos-sclo-rh: mirrors.umflint.edu
 * centos-sclo-sclo: mirror.genesishosting.com
 * extras: mirrors.usinternet.com
 * updates: mirror.genesisadaptive.com
Installed Packages
Name : scl-utils
Arch : x86_64
Version : 20130529
Release : 19.el7
Size : 25 k
Repo : installed
From repo : base
Summary : Utilities for alternative packaging
URL : https://fedorahosted.org/released/scl-utils/
License : GPLv2+
Description : Run-time utility for alternative packaging.
TagsNo tags attached.
abrt_hash
URL

Relationships

duplicate of 0017826 resolvedJohnnyHughes CentOS 7 with SCL enabled only provides PHP 7.3.11 

Activities

noloader

noloader

2020-12-01 04:56

reporter   ~0038016

In case it helps, here are the PHP 7.3 packages we have installed to support Mediawiki 1.35:

# yum install rh-php73 rh-php73-php rh-php73-php-cli rh-php73-php-common \
    rh-php73-php-gd rh-php73-php-json rh-php73-php-mbstring \
    rh-php73-php-mysqlnd rh-php73-php-pdo rh-php73-php-pear \
    rh-php73-php-process rh-php73-php-xml rh-php73-php-zip rh-php73-runtime

Issue History

Date Modified Username Field Change
2020-12-01 04:54 noloader New Issue
2020-12-01 04:56 noloader Note Added: 0038016
2020-12-01 11:59 ManuelWolfshant Status new => closed
2020-12-01 11:59 ManuelWolfshant Resolution open => duplicate
2020-12-01 11:59 ManuelWolfshant Relationship added duplicate of 0017826