Search code examples
phpcentos7mbstring

Installed mbstring on php 7.1 but phpinfo says it's not installed - CentOS 7


I've installed php-mbstring on Centos 7 with: yum install php-mbstring and everything seemed to go well please see screenshot below.

I then went to view the phpinfo() output and searched for "mbstring" and it's not showing up as installed. Anyone have a clue why this might be?

enter image description here


Solution

  • Try restarting Apache:

    /etc/init.d/apache2 restart