on 2021 Sep 12 7:39 PM
I am unable to properly run the PHP SQLAnywhere extensions. I have tried both 32-bit and 64-bit versions of the extension but had no luck with either. I am using SQL Anywhere 16 and PHP 8.0.10. I added both of these lines to my php.ini file:
extension=php-7.4.0_sqlanywhere.dll
extension=php-7.4.0_sqlanywhere_nts.dll
I made sure that both dll's are in the correct path with all the other extensions which is also the one that is specified in the error message.
Error message I recieved:
Warning: PHP Startup: Unable to load dynamic library 'php-7.4.0_sqlanywhere.dll' (tried: C:\\XXX\\php-7.4.0_sqlanywhere.dll (The specified module could not be found), C:\\XXX\\php_php-7.4.0_sqlanywhere.dll.dll (The specified module could not be found)) in Unknown on line 0
Request clarification before answering.
Just realized I'm running PHP 8.0.10 not PHP 7.4.0.
The extension I'm using is only compatible with PHP 7.4.0, after downgrading the problem was fixed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
41 | |
15 | |
10 | |
9 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.