Home > Article > Backend Development > php_mbstring.dll was not found and the file could not be started. Solution_PHP Tutorial
This article collects various solutions to the PHP command line mode prompt "php_mbstring.dll was not found and the file cannot be started." Friends in need can refer to it.
Solution:
Just move extension=php_mbstring.dll to before extension=php_exif.dll in the php.ini file.
The reason is that exif needs to call mbstring, so mbstring must be in front.
php_exif.dll, EXIF function library, requires php_mbstring.dll.
And in php.ini, php_exif.dll must be loaded after php_mbstring.dll.
If the above method does not work, please refer to method two
php_mbstring.dll was not found, the file cannot be started,
Solution:
The default in php.ini is extension_dir = "./". However, the extension dll is under the ext directory, so change it to extension_dir = "ext/".
If there is no php_mbstring.dll file in the system, you can download it
The installation method is as follows
Copy your downloaded php_mbstring.dll to
C:/Windows/System/System32
C:/Windows/System
C:/Windows
This is the system directory, whichever disk you installed on is the same disk
Indicate the source when reprinting articles created on this site http://www.bKjia.c0m/phper/php.html