mbstring extension installed but not working

2.5k Views Asked by At

I am using Linux Mint and apache2 with php5.6.

After installing everything it shows me that mbstring is required. After doing sudo apt-get install php5.6-mbstring php5.6-mcrypt php5.6-mysql php5.6-xml it shows me that I have the newest version already.

I also changed ;extension=php_mbstring.dll to extension=php_mbstring.dll in /etc/php/5.6/apache2/php.ini

I did sudo service apache2 restart

Could anyone help me on this please?

EDIT:

php.ini file - http://pastebin.com/1U3UtHXn

2

There are 2 best solutions below

8
On

You're trying to load a .dll file on Linux. Those are for Windows.

You need to load the equivalent .so file for Linux.

apachectl configtest --verbose should also help you here.

0
On

Well, what I actually did was deleting everything: php, php extensions, phpmyadmin, sql, everything and installing once again the most recent versions.