Closed shokarta closed 4 years ago
EDIT, tried to remove .dll from php.ini: extension=php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64
There was no result change whatsoever
PS: I cant modify initial post, but basicaly my language says "Uvedeny modul nebyl nalezen" => "The specified module could not be found"
also, php.ini: extension_dir = "\xampp\php\ext"
Have you checked file permissions?
Yes, same as any other dll in the ext directory
Any updates?
Unfortunatelly not at all, Im stuck at the same place where I was… I have tried all precompiled versions, several php versions, but no luck… Can you recommend some recent EXACT XAMPP version where you made this work?
Have you tried to compile the extension yourself? The precompiled DLLs are provided for convenience only and there is no guarantee they will work on all machines.
Issue fixed, I redownloaded the SAP SDK from support SAP page and now it works. All filenames was corrected, but in one file i noticed different filesize, so I believe it was corrupted. However, would be good feature if you can make some startup warning, that your lib will not work because it can not reach/open the sap SDK files.. so it can at least point people where the problem is. Thank you :)
Hello,
as far I am aware, I have tried everything. Win10 64x PHP Version 7.3.4 Architecture x64 Thread Safety enabled (copied from phpinfo();)
php.ini: extension=php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll file is saved as "php/ext/php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll"
when run php-cgi.exe i have this error: PHP Warning: PHP Startup: Unable to load dynamic library 'php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll' (tried: \xampp\php\ext\php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll (Uveden´┐Ż modul nebyl nalezen.), \xampp\php\ext\php_php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll.dll (Uveden´┐Ż modul nebyl nalezen.)) in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library 'php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll' (tried: \xampp\php\ext\php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll (Uveden´┐Ż modul nebyl nalezen.), \xampp\php\ext\php_php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll.dll (Uveden´┐Ż modul nebyl nalezen.)) in Unknown on line 0
However the file IS THERE!
error.log confirms that with no futher info: PHP Warning: PHP Startup: Unable to load dynamic library 'php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll' (tried: \xampp\php\ext\php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll (Uveden\xef\xbf\xbd modul nebyl nalezen.), \xampp\php\ext\php_php_sapnwrfc-1.3.0-7.3.8-vc15-ts-x64.dll.dll (Uveden\xef\xbf\xbd modul nebyl nalezen.)) in Unknown on line 0
it is not shown in phpinfo() not even on php -m, there its not loaded.
I have tried the x86 version, and php-cgi.exe gave me error that this is win32 version, so it at least recognized the file.
File was downloaded as precompiled from you website
Now im lost, what else to check, how to proceed to debug :(