How to build the SQL Anywhere PHP extension on Unix and Mac OS X

To connect PHP to SQL Anywhere using the SQL Anywhere PHP extension on Unix and Mac OS X, you must add the SQL Anywhere PHP extension's files to PHP's source tree, and then re-compile PHP.


Requirements
Adding the SQL Anywhere PHP extension files to the PHP source tree
Compiling Apache and PHP