php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #18188 mssql_connect not working
Submitted: 2002-07-05 13:31 UTC Modified: 2002-09-11 11:33 UTC
Votes:4
Avg. Score:4.2 ± 0.8
Reproduced:3 of 3 (100.0%)
Same Version:2 (66.7%)
Same OS:2 (66.7%)
From: duarelulu at yahoo dot com Assigned:
Status: No Feedback Package: MSSQL related
PHP Version: 4.2.1 OS: Linux Red Hat 7.2
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 — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
36 - 4 = ?
Subscribe to this entry?

 
 [2002-07-05 13:31 UTC] duarelulu at yahoo dot com
$hostname = "1.1.1.1";
$username = "user";
$password = "pass";
$dbName = "db";

$conexion = mssql_connect($hostname,$username,$password) or die ("No connection");


'./configure' '--with-apache=../apache_1.3.24' '--with-mysql'
                                               '--enable-dbx' '--with-mhash' '--with-gd'                                                    '--with-jpeg-dir'
                                               '--enable-debug' '--enable-track-vars'
                                               '--with-sybase=/usr/local/freetds'

Using Windows 2000 and MS SQL 2000 for the database.

This example was working with php 4.1.x

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-07-05 15:57 UTC] tal@php.net
Define 'not working'. you get an error message? what kind of error message?

-Tal
 [2002-09-11 11:33 UTC] sniper@php.net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.


 [2003-05-28 07:48 UTC] poofanda at yahoo dot com
when i use mssql_connect i get an "Fatal error: Call to undefined function: mssql_connect() in C:\web\www\t.php on line 2" error message on the web page!!...

what's the problem?
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 10:01:26 2024 UTC