From: vlad275 at ya dot ru
Operating system: Windows 2003
PHP version: 5.3CVS-2007-12-30 (snap)
PHP Bug Type: MSSQL related
Bug description: Can't load php_mssql.dll
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 bug report at http://bugs.php.net/?id=43711&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=43711&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=43711&r=trysnapshot52
Try a CVS snapshot (PHP 5.3):
http://bugs.php.net/fix.php?id=43711&r=trysnapshot53
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=43711&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=43711&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=43711&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=43711&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=43711&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=43711&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=43711&r=support
Expected behavior: http://bugs.php.net/fix.php?id=43711&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=43711&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=43711&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=43711&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=43711&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=43711&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=43711&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=43711&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=43711&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=43711&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=43711&r=mysqlcfg