Enable mbstring library for PHP Windows installation

1.5k Views Asked by At

Using php 8.20 X86 Win32 VS16 not thread safe

In PHP.ini I have

extension=mbstring

(i.e. uncommented ";" in front)

and

extension_dir = "D:\webserve\php8X86Win32VS16NTS\ext"

In file system I have: file php_mbstring.dll in: directory D:\webserve\php8X86Win32VS16NTS\ext

...

PHPInfo()

  • states it is using the php.ini file I have edited.
  • extension direct is "ext" (which it is if if I use fully qualitfied path in php.ini)

...

Yet I still get error in code:

Uncaught Error: Call to undefined function Stichoza\GoogleTranslate\Tokens\mb_strlen()

...

What is the next thing I should check in my configuration to get multibyte string support working in PHP?

0

There are 0 best solutions below