Solved

mssql_connect() Call to undefined function

Posted on 2009-07-14
2
863 Views
Last Modified: 2013-12-13
hi,

I'm using ubuntu and i'm getting the following error message:
Call to undefined function mssql_connect()

Do I need to install something?

Cheers!
0
Comment
Question by:mikesteven
2 Comments
 
LVL 143

Accepted Solution

by:
Guy Hengel [angelIII / a3] earned 250 total points
ID: 24849036
check out here:
http://us.php.net/manual/en/book.mssql.php
check the links:
    * Requirements
    * Installation
    * Runtime Configuration

and you should find all you need.

to check if mssql is enabled, check if there is a mssql section in the phpinfo() output.
0
 
LVL 9

Assisted Solution

by:xBellox
xBellox earned 250 total points
ID: 24849100

    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    through named pipes.    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/   



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



Write <? phpinfo() ?> to view your configuration and to be sure that MSSQL Extension is properly installed.
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
What if i make webbased alternative for MS Access 5 100
Length of for loop to be dynamic 2 31
Change a button after e-mail 4 19
Find RGB colors from a screen. 2 15
Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
Developers of all skill levels should learn to use current best practices when developing websites. However many developers, new and old, fall into the trap of using deprecated features because this is what so many tutorials and books tell them to u…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

685 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question