ID:               43711
 Updated by:       [EMAIL PROTECTED]
 Reported By:      vlad275 at ya dot ru
-Status:           Open
+Status:           Bogus
 Bug Type:         MSSQL related
 Operating System: Windows 2003
 PHP Version:      5.3CVS-2007-12-30 (snap)
 New Comment:

Step 2 indicates your are loading msql instead of mssql. Those are two
different extensions.

If that's just a typo in your submission you are most likely missing
the ntwdblib.dll in \windows\system32. This file is required for the
mssql extension to load. You can copy this file from the server or you
can install the client tools on your PHP server box.


Previous Comments:
------------------------------------------------------------------------

[2007-12-30 04:13:03] vlad275 at ya dot ru

Description:
------------
Windows2003+IIS+PHP5.3.0+MS SQL Server 2005 
Can't load php_mssql.dll


1. Installed under IIS php-5.2.5-win32-installer.msi as ISAPI for .php
2. Uncommented at php.ini  extension=msql.dll
3. Added at php.ini  extension=php_mssql.dll
4. Copied all extentions into C:\WINDOWS\system32\
5. Copied ntwdblib.dll version 8.x into c:\php and c:\windows\system32.

6. Reooted

Fatal error: Call to undefined function mssql_connect()

What do I have to do?!!!

Reproduce code:
---------------
if (function_exists('mssql_connect')) echo "Okay, fn is there"; else
echo "Not found\n";
echo phpinfo();

print_r (get_loaded_extensions());


$mssql_server='195.42.181.173';
$mssql_user='';
$mssql_pass='';
mssql_connect($mssql_server,$mssql_user,$mssql_pass);

Expected result:
----------------
'Okay, fn is there'

I wanna use 'mssql_connect'!!! I cannot! Help me!!!

Actual result:
--------------
Not found

1Array ( [0] => bcmath [1] => calendar [2] => com_dotnet [3] => ctype
[4] => session [5] => ereg [6] => filter [7] => ftp [8] => hash [9] =>
iconv [10] => json [11] => mysqlnd [12] => odbc [13] => pcre [14] =>
Reflection [15] => date [16] => libxml [17] => standard [18] =>
tokenizer [19] => zlib [20] => SimpleXML [21] => dom [22] => SPL [23] =>
wddx [24] => xml [25] => xmlreader [26] => xmlwriter [27] => ISAPI )

Fatal error: Call to undefined function mssql_connect() in
C:\Inetpub\wwwroot\administrator\vt_example.php on line 52


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=43711&edit=1

Reply via email to