Hi,
We are trying connect sqlanywhere-16 to PHP 5.4.12 on both IIS and Apache server.
For that we have done below process as per the documentation provided by SQL Anywhere.
- We have set the "C:\Program Files\SQL Anywhere 16\Bin32" folder path in environment variable.
- Copy "php-5.4.12_sqlanywhere.dll" file from above directory into php extension folder.
- Set extension_dir path to "ext" folder in php.ini.
- Put "extension=php-5.4.12_sqlanywhere.dll" statement in php.ini
- Restart All services "Apache/Mysql".
Still we got error "Unable to load dynamic library "C:/PHP/ext/php-5.4.12_sqlanywhere.dll"-%1 is not a valid Win32 application,
That’s why we could not execute the functions of sql Anywhere Connectivity. We have search most of the forums as well as SAP help sites.
So please guide us for the above issue.