From:             php dot net at gurugeek dot com
Operating system: Linux 2.4.7-10 i686
PHP version:      4.3.2
PHP Bug Type:     *Compile Issues
Bug description:  --with-mssql does not seem to work

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
...

-- 
Edit bug report at http://bugs.php.net/?id=24464&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=24464&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=24464&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=24464&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=24464&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=24464&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=24464&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=24464&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=24464&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=24464&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=24464&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24464&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=24464&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=24464&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=24464&r=gnused

Reply via email to