LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-26-2022, 06:16 AM   #1
murdo
Member
 
Registered: Aug 2021
Location: Scotland
Distribution: Slackware64-Current
Posts: 91

Rep: Reputation: 28
MediaWiki broken, claiming PHP modules missing, after slackpkg clean-system


This was probably very stupid of me, but the other day I was looking through the packages that came up when I ran slackpkg clean-system, and I saw there was a "php8-8.1.0" there.

Thought that was strange, so I went to look at the php version 8 packages and saw that they seem to be in extra/ and are split into 80 and 81. So, I removed the old php8 package and installed the 81 from extra. Didn't think much of it.

Today, MediaWiki doesn't work, claiming that I'm missing the mbstring, ctype, iconv and intl modules. Except I'm not. They're all enabled in etc/php.ini. I do still have php7 installed - could it be that the two versions are clashing?

EDIT: Entirely stupidity on my part. Apparently MediaWiki is very unreliable with PHP 8. Removing php81 and reinstalling php7 worked. Only problem now is that I don't know why I had php8 installed in the first place and why it was working with them both before. Hopefully removing it hasn't broken anything else...

Last edited by murdo; 12-26-2022 at 06:24 AM.
 
Old 12-26-2022, 02:13 PM   #2
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 6,552

Rep: Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872Reputation: 872
It seems they support php 8 from version 1.39
https://www.mediawiki.org/wiki/Compatibility

I think php7 will be removed soon as it reached eol on November 28th
 
1 members found this post helpful.
Old 12-26-2022, 04:48 PM   #3
murdo
Member
 
Registered: Aug 2021
Location: Scotland
Distribution: Slackware64-Current
Posts: 91

Original Poster
Rep: Reputation: 28
Ah, good to know. Seems I'm a few versions behind, I'd probably better upgrade soon. Thanks!
 
  


Reply

Tags
mediawiki, php



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] slackpkg+ is broken with slackpkg 2.83.0 cycojesus Slackware 5 06-01-2018 04:51 PM
slackpkg clean-system njb Slackware 1 08-02-2010 12:13 PM
[SOLVED] Slackpkg blacklist ignored when using clean-system on current octoberblu3 Slackware 6 05-02-2010 09:45 PM
slackpkg clean-system not convienent? wingevil Slackware 7 09-06-2009 11:32 PM
Slackpkg: missing something in /usr/libexec/slackpkg/functions.d/dialog-functions.sh michelino Slackware 4 03-20-2007 12:22 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:00 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration