Please be aware that the content in SAP SQL Anywhere Forum will be migrated to the SAP Community in June and this forum will be retired.

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:



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

asked 12 Sep '21, 18:39

Eorlov's gravatar image

accept rate: 0%

edited 12 Sep '21, 18:42

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.

permanent link

answered 12 Sep '21, 19:30

Eorlov's gravatar image

accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 Sep '21, 18:39

question was seen: 1,157 times

last updated: 12 Sep '21, 19:30