Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

MSSQL functions in CLI?

Status
Not open for further replies.

monkle

Programmer
Feb 11, 2004
132
US
I've started working on some PHP CLI script utilities recently, and I've run into an issue.

Script:
Code:
<?php
$connection = mssql_connect('server', 'user', 'pw');
?>

Error:
Code:
Call to undefined function: mssql_connect()

Is it possible to do this in CLI? I've looked through documentation, and found nothing on this.
 
Does your PHP have the MSSQL client libraries installed?
What does phpinfo() say?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top