|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #43249 PHP 5.2.3 & MSSQL
Submitted: 2007-11-11 19:43 UTC Modified: 2007-11-12 11:26 UTC
From: swapneel at networkredux dot com Assigned:
Status: Not a bug Package: MSSQL related
PHP Version: 5.2.5 OS: CentOS release 4.5 (Final)
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
Solve the problem:
33 + 35 = ?
Subscribe to this entry?

 [2007-11-11 19:43 UTC] swapneel at networkredux dot com

PHP Build : 5.2.3 running as CGI. 

FreeTDS version 0.64

FreeTDS configure statement has,

./configure --with-tdsver=7.0 --prefix=/usr/local/freetds --enable-msdblib

PHP configure statement has,

Configure(PHP5.2.3) has,

checking for MSSQL support via FreeTDS... yes

Complile and install is fine. mssql section shows up in phpinfo(). 

However, script still fails with call to undefined function,

Fatal error: Call to undefined function: mssql_connect() in /home/username/public_html/script.php

I've tried PHP 5.2.5 with no luck. It would be much appreciated if anyone could point out what is going wrong. Thanks. 

Actual result:
Fatal error: Call to undefined function: mssql_connect() in /home/username/public_html/script.php


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2007-11-12 11:26 UTC]
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit as this bug system is not the
appropriate forum for asking support questions.  Due to the volume
of reports we can not explain in detail here why your report is not
a bug.  The support channels will be able to provide an explanation
for you.

Thank you for your interest in PHP.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Jun 15 17:01:31 2024 UTC