mbstring will not add to my php on windows 10

242 Views Asked by At

I need mbstring for something I'm doing. I've followed all the php.ini change directions to enable it and still when I do "php -m" the module is not there.

  1. The php_mbstring.dll file is in the ext folder
  2. I have two php.ini files, one for dev and prod
  3. in both I've remove the semi colon and enabled "extension = php_mbstring.dll"
  4. Also in both I've un commented all the settings under [mbstring]

Restarted my computer and nothing? Is there a way to add it in windows command like they have in linux with "sudo apt-get mbstring"?

Also note my ini files just had ";extension=mbstring" which I first uncommented in the ini's but that did not work so I tried adding the whole "extension = php_mbstring.dll" and as noted above this did not work.

Why??

1

There are 1 best solutions below

1
Dimitry On

php 8.2.3? May be depricated?

Replacing the Mbstring-provided conversion functions with the built-in dedicated functions avoids the deprecation notice, with the added benefit of the replacing functions being built-in to PHP core itself, without having to require the Mbstring extension. - https://php.watch/versions/8.2/mbstring-qprint-base64-uuencode-html-entities-deprecated#base64