i´m working with: Windows 8.1 SQL Anywhere 12 IIS php 5.6 i followed the introductions to install the php-module for SQL-anywhere: i copy the php-5.6.0_sqlanywhere.dll in the diretory specified by "Extension_dir" in php.ini i put the path to my sybase 32-bit Directory in the Windows PATH variable. in my phpinfo() is no sqlanywhere-section and i get These error in my php-error-log: PHP Warning: PHP Startup: Unable to load dynamic library 'C:\Program Files (x86)\iis express\PHP\v5.6\ext\php-5.6.0_sqlanywhere.dll' - Das angegebene Modul wurde nicht gefunden. in Unknown on line 0 any idea? thx. |
Load library failures can occur because of a problem the module listed or if a dependent module is not able to be loaded. php-5.6.0_sqlanywhere.dll depends other SQL Anywhere modules (including dbcapi.dll and client libraries) http://dcx.sap.com/index.html#1201/en/dbprogramming/pg-deploy-php.html. If you do not have those installed and/or they are not on the path that would be the #1 reason for such a load module failure. Assuming you downloaded the PHP driver from the web site http://scn.sap.com/docs/DOC-40537 you will need to also install a minimal set of client files (from 12.0.1) to support that. If this information does not help then you should include the exact SP/EBF/Build# of 12.0.1 you are using and (if you downloaded the driver separately) the version number of the PHP driver (the file/product version under the detail properties of the file; which may be important if not recent). |