Topic on Project:Support desk

Installation script does not progress

9
Baruch.gudesblat (talkcontribs)

Trying to install MediaWiki 1.29.2 on CentOS Linux release 7.4.1708 (Core)

PHP 5.6

open index.pxp in the browser (Firefox) , got message "LocalSettings.php not found. Please set up the wiki first." I click to this link and nothing happend

Already did

find . -type f -exec chmod 644 {} \;

find . -type d -exec chmod 755 {} \;

chown -R apache:apache *

What can I do?

MarkAHershberger (talkcontribs)

Can you see if there is an error in your web server's error log?

82.80.126.198 (talkcontribs)

YES: PHP Fatal error:  Class 'DOMDocument' not found in /var/www/html/wiki/includes/cache/localisation/LocalisationCache.php on line 661, referer: http://172.20.110.79/index.php

Baruchgu (talkcontribs)

Tried to add DOMDocument: yum install php-xml. It gave errors:

Error: php56w-common conflicts with php-common-5.4.16-43.el7_4.x86_64

Baruchgu (talkcontribs)

Installed - Package php56-php-xml-5.6.32-1.el7.remi.x86_64 already installed and latest version

But still have an error Class 'DOMDocument' not found

Baruchgu (talkcontribs)

solved by yum install php56w-xml

MadTownDavid (talkcontribs)

To get php56w on our system (think CentOS 7), I had to remove ALL php-* rpms, and then install the php56w set (including php56w-xml). There's one dangling dependency to kdesk (so use rpm -e --nodeps ...), but other than that everything seemed fine after swapping out php-* for php56w*.

Baruchgu (talkcontribs)

thanks. Now I have an issue with PECL

Warning: The intl PECL extension is not available to handle Unicode normalization,

Which package should install? there are a lot of php-pecl* packs.

Ciencia Al Poder (talkcontribs)