在linux下安装Apache 2、PHP5.0.0、Sybase ASE 12.5

王朝php·作者佚名  2006-01-09
窄屏简体版  字體: |||超大  

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

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航