Topic on Project:Support desk

MediaWiki 1.27 requires mbstring to install, but it is installed.

4
Summary by Seb35

Configuration issue in PHP.

Markjlyon (talkcontribs)

I am installing mediawiki on a windows machine using 1.27, php5.6.25, and abyss server 2.11.1.

In the php.ini I have the zend.multibyte = On and the two related DLLs, php_mbstring.dll and php_exif.dll, set.

But I always get the message that I am missing mbstring.

There is no documentation anywhere about what settings mediawiki needs in PHP for mbstring to function.

Markjlyon (talkcontribs)

I figured out my extension_dir wasn't set correctly ("./" instead of "ext").

Thanks

Rsmoore (talkcontribs)

I found another sequence of steps that may be required to fix this issue (running Xubuntu 18.04 but this fix may be applicable to other distributions as well). This applies if phpinfo(); reports a different version than the latest installed version.


  1. Disable the old version of PHP with "sudo a2dismod php7.0" (or whatever version phpinfo() is reporting).
  2. Enable the new version with "sudo a2enmod php7.2" (or whatever the new version is).
  3. "sudo service apache2 restart"


64.183.170.226 (talkcontribs)

this worked for me

Reply to "MediaWiki 1.27 requires mbstring to install, but it is installed."