![]() From the clientxxxx directory (where xxxx is client version number) run setup script.Download the SQL Anywhere Database Client from SQL Anywhere Database Client Download page ( ) selecting your platform. ![]() Make sure you have Apache and PHP installed and configured properly.It should also be applicable to MacOS and Windows+Apache+PHP configuration. The connection is made from a Linux server running Apache 2+ and PHP 5.1+ using mod_php.įollowing configuration was tested for RHEL Linux, but you should be able top use it on any Linux distribution.There's a need to connect to Sybase/SQL Anywhere database version 9 or above.It's not the sybase_ct module present in PHP documentation, but it provides all functionalities for interacting with the database. Note that as a result you will be using sqlanywhere module for PHP by SAP company that provides compiled modules for all PHP versions > 5.1. What I present here is just one way of doing things, there are alternatives to that, but IMHO it's the least troublesome way (no module compiling, no strange dependencies etc.). I decided to write this howto, because it took me some time to configure php to work with Sybase trying many approaches from php documentation and tutorials on the web.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |