Topic: mediawiki rendering problems with RHEL and php

Hi everybody,

I installed php-ldap a few hours ago, yum proposed me to update some packages, php, mysql and others. I didn't notice clearly which one and how much.
The problem is that now, some pages of my mediawiki appears normally, but some pages seems to have disappeared. When I try to modify them, the code is here, but visualizing doesn't work.

The wiki is shared in my labs, and I am very disappointed by this behaviour.

Anyone can help ?

Thanks in advance,
Bruno

Mediawiki is 1.21.3

Jan 12 17:14:31 Updated: php-common-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:31 Updated: mysql-libs-5.5.54-1.el6.remi.x86_64
Jan 12 17:14:33 Updated: mysql-5.5.54-1.el6.remi.x86_64
Jan 12 17:14:33 Updated: php-pdo-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:34 Updated: php-cli-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:34 Updated: php-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:34 Updated: php-mysql-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:35 Updated: mysql-devel-5.5.54-1.el6.remi.x86_64
Jan 12 17:14:37 Updated: mysql-server-5.5.54-1.el6.remi.x86_64
Jan 12 17:14:37 Updated: php-xml-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:37 Installed: php-ldap-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:38 Updated: php-gd-5.4.45-12.el6.remi.x86_64
Jan 12 17:14:38 Installed: compat-mysql51-5.1.54-1.el6.remi.x86_64


yum info phpMyAdmin
Loaded plugins: product-id, refresh-packagekit, security, subscription-manager
This system is registered to Red Hat Subscription Management, but is not receiving updates. You can use subscription-manager to assign subscriptions.
Available Packages
Name        : phpMyAdmin
Arch        : noarch
Version     : 4.6.5.2
Release     : 1.el6.remi
Size        : 4.9 M
Repo        : remi
Summary     : Web based MySQL browser written in php
URL         : https://www.phpmyadmin.net/
License     : GPLv2+ and MIT and BSD
Description : phpMyAdmin is a tool written in PHP intended to handle the administration of
            : MySQL over the Web. Currently it can create and drop databases,
            : create/drop/alter tables, delete/edit/add fields, execute any SQL statement,
            : manage keys on fields, manage privileges,export data into various formats and
            : is available in 50 languages

[Thu Jan 12 19:35:12][root@vrlte /home/user]$ php -v
PHP 5.4.45 (cli) (built: Sep 19 2016 15:31:07)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies

Re: mediawiki rendering problems with RHEL and php

What was the content of the transaction ? (see yum.log or yum history)
Which was the previously installed version ?

I don't know how you can have install pohpMyAdmin 4.6 which requires PHP >= 5.5...

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: mediawiki rendering problems with RHEL and php

> the code is here, but visualizing doesn't work.

Is some code still using "short_tags" which are now disabled by default ?  (<? instead of <?php)

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: mediawiki rendering problems with RHEL and php

Remi,
Thanks you for your reply.
I'm so sorry to have posted on your blog, because the problem was a mediawiki problem:
https://www.mediawiki.org/wiki/Manual:E … t_is_there
MediaWiki don't work with PCRE 8.34
(A patch is available to solve the problem...)

I was too tired yesterday to have a clear view of what happened !

Have a nice week end
Bruno