免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1107 | 回复: 6
打印 上一主题 下一主题

[Web] 一个难与解决的问题,大家商讨 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-08-17 14:27 |只看该作者 |倒序浏览
我把apache+php+mysql配置好了,并且可以顺利的运行,(需要资料的朋友跟贴就好了)但是我试着配置apache+php+mssql的时候,就出现了问题,每次make php的时候,都出现php 的warming 的提示,而且内容基本都是说mssql function  registation failed 专家给指点一下

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
2 [报告]
发表于 2004-08-17 15:42 |只看该作者

一个难与解决的问题,大家商讨

不知道你是怎么个make发的,你想要make mssql的时候,可没有mysql那么简单的哦。

LVIII. Microsoft SQL Server functions
介绍
These functions allow you to access MS SQL Server database.

需求
Requirements for WIn32 platforms.

The extension requires the MS SQL Client Tools to be installed on the system where PHP is installed. The Client Tools can be installed from the MS SQL Server CD or by copying ntwdblib.dll from \winnt\system32 on the server to \winnt\system32 on the PHP box. Copying ntwdblib.dll will only provide access. Configuration of the client will require installation of all the tools.

Requirements for Unix/Linux platforms.

To use the MSSQL extension on Unix/Linux, you first need to build and install the FreeTDS library. Source code and installation instructions are available at the FreeTDS home page: http://www.freetds.org/

注: In Windows, the DBLIB from Microsoft is used. Functions that return a column name are based on the dbcolname() function in DBLIB. DBLIB was developed for SQL Server 6.x where the max identifier length is 30. For this reason, the maximum column length is 30 characters. On platforms where FreeTDS is used (Linux), this is not a problem.

安装
The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini.

To get these functions to work, you have to compile PHP with --with-mssql[=DIR], where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib.


仔细看看,对于瘟到死和Unix的操作可是不同的哦。。

论坛徽章:
0
3 [报告]
发表于 2004-08-18 08:32 |只看该作者

一个难与解决的问题,大家商讨

ok 我想我是明白的,但是我现在完成的任务是,用linux作为web服务器,调用另外一台数据库服务器里的数据(数据库基于mssql),所以我没有必要make mssql吧,我查看过资料好象只要安装freetds吧,请给我点建议,谢谢

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
4 [报告]
发表于 2004-08-18 11:54 |只看该作者

一个难与解决的问题,大家商讨

对头,就是需要安装freetds,我以前做过测试的,不过效果不是很好的哦

论坛徽章:
0
5 [报告]
发表于 2004-08-18 13:22 |只看该作者

一个难与解决的问题,大家商讨

好象有希望,效果不好是什么意思,说明你成功过,我是把apache安装好了,然后安装php的,这样可以让它运行起来,我下面要做是事情是安装freetds,当安装好后,就可以重新安装php即覆盖以前的php,这样才能是脚本文件有效,但是不知道什么回事,php在make的时候总是出错
大都是mssql function registation failed ,所以我现在不明白是我的php 安装有问题,还是我的freetds有问题,我一直想不起来了,求教

论坛徽章:
0
6 [报告]
发表于 2004-08-19 12:20 |只看该作者

一个难与解决的问题,大家商讨

HonestQiao,帮忙看一下我的回复

论坛徽章:
1
技术图书徽章
日期:2013-12-05 23:25:45
7 [报告]
发表于 2004-08-19 12:43 |只看该作者

一个难与解决的问题,大家商讨

你安装了freetds之后,看看freetds的帮助文档,然后测试一下子。
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP