php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24464 --with-mssql does not seem to work
Submitted: 2003-07-02 13:43 UTC Modified: 2003-07-02 15:21 UTC
From: php dot net at gurugeek dot com Assigned:
Status: Not a bug Package: *Compile Issues
PHP Version: 4.3.2 OS: Linux 2.4.7-10 i686
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: php dot net at gurugeek dot com
New email:
PHP Version: OS:

 

 [2003-07-02 13:43 UTC] php dot net at gurugeek dot com
Description:
------------
When configuring adding --enable-mssql does not appear to do anything. I can go manually change the configure script to THINK I put it in the configure command line. (Change the PHP_MSSQL=no to PHP_MSSQL=yes, and default the option to yes).

If I do that everything works like a champ, however if I don't php skips right over mssql.

I'm using freetds-0.61 with the following configure command:
./configure --enable-msdblib --with-tdsver=7.0 --with-unixodbc

Reproduce code:
---------------
'./configure' \
'--prefix=/usr/local/php-4.3.2' \
'--sysconfdir=/usr/local/etc' \
'--mandir=/usr/local/man' \
'--sbindir=/usr/local/sbin' \
'--bindir=/usr/local/bin' \
'--libdir=/usr/local/lib' \
'--libexecdir=/usr/local/libexec' \
'--enable-sysvsem' \
'--enable-sysvshm' \
'--enable-sockets' \
'--with-snmp' \
'--with-mysql' \
'--enable-ftp' \
'--with-openssl' \
'--with-apsx' \
'--enable-mssql' \
'--with-apxs=/usr/local/sbin/apxs' \
'--with-curl=/root/packages/curl-7.10.5/' \
'--with-imap=/root/packages/imap-2002d/'

Expected result:
----------------
...
checking for MSSQL support via FreeTDS... yes
...

Actual result:
--------------
...
checking for MSSQL support via FreeTDS... no
...

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-07-02 14:18 UTC] derick@php.net
Please check config.log why it was skipped
 [2003-07-02 15:11 UTC] php dot net at gurugeek dot com
http://gurugeek.com/jeff/config.log
 [2003-07-02 15:15 UTC] derick@php.net
Use --with-mssql, and it should work a lot better ;-)

[derick@kossu php-5.0.0dev]$ ./configure --help | grep mssql
  --with-mssql[=DIR]      Include MSSQL-DB support.  DIR is the FreeTDS home

 [2003-07-02 15:21 UTC] php dot net at gurugeek dot com
SH*T,

*shoots self*

No bug! :D
 [2003-07-02 15:21 UTC] php dot net at gurugeek dot com
SH*T,

*shoots self*

No bug! :D
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jan 15 13:01:29 2025 UTC