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 |
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. |