Koozali.org: home of the SME Server

Installing Sybase ASA in PHP on SME-Server 6.0.1

rjongejan

Installing Sybase ASA in PHP on SME-Server 6.0.1
« on: July 18, 2005, 07:50:38 AM »
Having a situation wich I can't solve myself. :-(

Situation : Server SME 6.0.1
PHP must work with Sybase ASA database.
Have already downloaded  RPM's from Sybase and now must configure PHP to let it know that Sybase is there and PHP should talk to it.
As an example Sybase gives the following:

1. Download the SQLAnywhere PHP module from
http://www.ianywhere.com/developer/code_samples/sqlany_php_module.html.
2. From the directory where you saved the SQLAnywhere PHP module, untar the
files to the ext subdirectory of the PHP source tree (Mac OS X users should
replace tar with gnutar):
$ tar -xzf sqlanywhere_php-version.tar.gz -C PHP_source_directory/ext/
For example,
$ tar -xzf sqlanywhere_php-1.0.6.tar.gz -C ~/php-4.3.x/ext
3. Make PHP aware of the module:
$ cd PHP_source_directory/ext/sqlanywhere
$ touch *
$ cd ~/PHP_source_directory
$ ./buildconf
For example,
$ cd ~/php-4.3.x/ext/sqlanywhere
$ touch *
$ cd ~/php-4.3.x
$ ./buildconf
4. Verify that PHP is aware of the module:
$ ./configure -help | egrep sqlanywhere
If you were successful in making PHP aware of the SQLAnywhere module, you
should see the following text:
--with-sqlanywhere=[DIR]

Because I am not a crack in Linux compiling and so I understand that there must be some compilation done.
I know that there are no sources available on the SME-Server and there is no compiler. SO WHAT SOULD I DO TO SOLVE THIS PROBLEM?
Can anybody help me?