douvcpx6526 2016-05-11 20:51
浏览 40

使用SQLSRV配置PHP以使用MSSQL

I'm trying to configure PHP to work with MSSQL database. I found some instructions on the internet, but I didn't succeed. I'm using php 5.3, MS SQL 2008, server is Openserver 5.2.2, OS is Windows 8.1.

  1. I installed MS SQL Management studio 2008.
  2. I installed ODBC driver
  3. I installed SQLSRV version 53_ts_vc9 (from phpinfo() (vession - 5.3, thread safe, compiler - MSVC9))
  4. I've added extension=php_sqlsrv_53_ts_vc9.dll line to php.ini
  5. I've rebooted server and got "--without-mssql" "--without-pdo-mssql" in phpInfo()

Help me, guys. What have I done wrong?

  • 写回答

1条回答 默认 最新

  • dozug64282 2016-05-11 20:54
    关注

    I've rebooted server and got "--without-mssql" "--without-pdo-mssql" in phpInfo()

    Those are compile time options, not configuration options. You need to compile php from source, or get a module that provides that functionality.

    评论

报告相同问题?

悬赏问题

  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 基于卷积神经网络的声纹识别
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值
  • ¥15 我想咨询一下路面纹理三维点云数据处理的一些问题,上传的坐标文件里是怎么对无序点进行编号的,以及xy坐标在处理的时候是进行整体模型分片处理的吗
  • ¥15 一直显示正在等待HID—ISP
  • ¥15 Python turtle 画图