Trouble when loading php_mbstring.dll


I need to use PHP function exif_imagetype()

So i ennabled php_mbstring.dll and php_exif.dll in PHP Settings -> PHP Extentions and set status to Compile into the exe

But when i launch my app, I 2 error occured:

Fist saying that php_mbstring.dll is missing

second saying that php_exif.dll is missing

the both file exist in C:\Program Files (x86)\ExeOutput for PHP\PHPRuntime\ext

Any idea to solve that ?

Thanks in advance

I just founded a work-arroud to get image mime-type:

$image_path = “c:/temp/test.png”;
$finfo = finfo_open(FILEINFO_MIME_TYPE);
$image_mime = finfo_file($finfo, $image_path);
echo $image_mime;

you have to enable php_fileinfo.dll

Even if i solved my trouble, I’m still intresting to know why i couldn’t load php_mbstring.dll and php_exif.dll :wink:

php_mbstring is compiled in the PHP runtime used by ExeOutput so there is no need of an additional DLL file.