Home  >  Article  >  Database  >  Cent OS 5.0下编译php连接mssql

Cent OS 5.0下编译php连接mssql

WBOY
WBOYOriginal
2016-06-07 16:51:34861browse

先是Win下面的思维 查找mssql.so或是dll,失败!可能是能编译出.so文件出来,但是怎么编译又是一回事,所以不是简单的php.ini 的

先是Win下面的思维 查找mssql.so或是dll,失败!

可能是能编译出.so文件出来,但是怎么编译又是一回事,所以不是简单的php.ini 的配置

找资料,必须安装freetds插件,安装成功,成功访问mssql数据库,但是只能在命令行下,php还是不动声色。

要想支持必须重新编译,怎么办?只能重新安装php

不行还得先卸载php,必须先卸载apache,安装。

失败,,原来apache没有卸载成功,rpm -qa一下果然,rpm-e失败,想到相关联的全部rpm-e 最后安装成功

安装php失败!怎么回事需要libxml支持又是找了一上午,最后终于下到了,安装了,中间出了libxml2—devden,全卸了安装,安装devden时需要zlib—deven支持,又是一阵忙乱后,强行安装libxml2—deven安装php编译通过,一阵make&make install

又出问题了 apache重启不支持php5——module,libphp5.so不是一直很好支持吗?郁闷 原来是selinux的原因,可以考虑把它关闭。

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn