#44234 [Opn->Bgs]: call to undefined function mssql_connect()
ID: 44234
Updated by: msaraujo@php.net
Reported By: adamgeoffrey12 at yahoo dot com
-Status: Open
+Status: Bogus
Bug Type: MSSQL related
Operating System: win xp sp2
PHP Version: 5.2.5
New Comment:
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 http://www.php.net/support.php 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.
Previous Comments:
------------------------------------------------------------------------
[2008-02-24 11:51:13] adamgeoffrey12 at yahoo dot com
Description:
------------
im using iis,sql server 2005 and php 5.2.5
the php_mssql.dll extension is already uncommented in php.ini of php
5.2.5 win 32 installer, i have put the php_mssql.dll and ntwdblib.dll in
system 32 and php\:extension folders the fatal error call to undefined
function mssql_connect() still comes.
testing for availability of php functions using;-
<?php
if (function_exists('mssql_connect')) {
echo "Okay, fn is there";
} else {
echo "Hmmm .. fn is not even there";
}
?>
it returns the else part, where the problem will be??plz help me i have
suffered this problem for months.
Reproduce code:
---------------
the code i used to connect to the database is as follows;-
<?php
$dbserver="localhost, 1433";
$dbuser="sa";
$dbpass="adam";
$dbname="Student";
?>
then
<?php
$dbconn=mssql_connect($dbserver,$dbuser,$dbpass);
mssql_select_db($dbname, $dbconn) or die("Unable to Open The
Database");
?>
Expected result:
----------------
to connect to sql server, unfortunately i couldnt, plz plz help me out
of this big problem.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=44234&edit=1
Thread (4 messages)