this is way to compile sybase ase 12.5 with php5.0.0 and apache 2 on linux:
- install apache
- install ase1252_de_linux.tgz to /opt/sybase-12.5
- shell:# ln -s /opt/sybase-12.5 /opt/sybase
- edit phpsrc/configure and remove all '-linsck'
- edit phpsrc/ext/sybase-ct/php_sybase_ct.h and change ctlib_version cs_version_100 to 125
- shell:# export sybase=/opt/sybase
- phpsrc/configure --with-sybase-ct=/opt/sybase/ocs-12_5
- phpsrc/make and make install
- edit apache2/conf/httpd.conf and add addtype... .php
- create /opt/sybase/interfaces file
servername
[tab!]master tcp ether ipaddress port
[tab!]query tcp ether ipaddress port
- apache2/bin/apachectl start