Topic on Project:Support desk

178.157.254.233 (talkcontribs)

Hi

I just updated my Mediawiki from 1.29 to 1.34 and at the same time I updatede the php from 7.1.33 to 7.4.4

But when I open my wiki I get the message:

MediaWiki 1.34 internal error

MediaWiki 1.34 requires at least PHP version 7.2.9, you are using PHP 7.1.33-14+ubuntu18.04.1+deb.sury.org+1"


But when I write "php -version" i get

PHP 7.4.4 (cli) (built: Mar 20 2020 13:47:45) ( NTS )

Copyright (c) The PHP Group

Zend Engine v3.4.0, Copyright (c) Zend Technologies

   with Zend OPcache v7.4.4, Copyright (c), by Zend Technologies


II can't figure out what I am doing wrong.

How do I fix it?

Best regard

Kenneth

Ubuntu server 18.04

Malyacko (talkcontribs)
Nsturtz2 (talkcontribs)

7.3.11 is the newest

Malyacko (talkcontribs)

Where? How? Plus 7.3.11 is not 7.1.33.

Nsturtz2 (talkcontribs)

Oh sorry that is my bad, I have the outdated version on my server. Thank you for pointing that out to me.

2.107.60.30 (talkcontribs)

Hi

You were right. I had installed PHP versions in parallel and also the wrong version.

I had added the repository ppa:ondrej/php and because I did not specified the php version I automatically got the newest (7.4.4)

After removing the wrong PHP version I installed 7.3 and now it's working again


Hope you all have a nice weekend

Kenneth