How can the error "php_mbstring.dll not found" be resolved when the DLL is located in the specified directory in PHP5 installation?

The error "php_mbstring.dll not found" occurs when PHP is unable to locate the required mbstring extension DLL file. To resolve this issue, you can specify the exact path to the PHP extensions directory in the php.ini configuration file. By setting the extension_dir directive to the correct path, PHP will be able to find and load the php_mbstring.dll file successfully.

extension_dir = "C:/path/to/php/ext"