Cannot Load FANN php extension
-
I have correctly installed php_fann.dll from https://pecl.php.net/package/fann/1.1.1/windows in active php extension folder but php throws error in log saying
"Unable to load dynamic library 'C:/laragon/bin/php/php-7.1.0-Win32-VC14-x86/ext\php_fann.dll' - The specified module could not be found."Is there somthing error with laragon,php or that extension couldn't figure out.
-
Which link did you download?
From your PHP version (php-7.1
.0-Win32-VC14
-x86
), you must download:
http://windows.php.net/downloads/pecl/releases/fann/1.1.1/php_fann-1.1.1-7.1-ts-vc14-x86.zip
-
@leokhoa Yes i have downloaded same and enabled but the extension is not working.
-
@krishnaguragain: I believe you downloaded wrong package.
I've tested.
Note:
You need to copy also this file to your PHP's installation dir:
doublefann.dll
-
@krishnaguragain: Did it work for you?
If yes, please confirm so it will help others.
-
@leokhoa Please help, have same issue, 'll copy doublefann.dll to the php.exe dir
Install this .dll https://windows.php.net/downloads/pecl/releases/fann/1.1.1/php_fann-1.1.1-7.1-ts-vc14-x86.zip and load php_fann.dll to the extension folder(other dll's great works)
UPDATE: Thank's need to run apache service as administrator account