PHP 4.0 Bug #4284 Updated: MSSQL functions don't work
| From: | Bug Database | Date: | Tue, 05 Sep 2000 02:28:24 +0000 |
| Subject: | PHP 4.0 Bug #4284 Updated: MSSQL functions don't work | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-32056@lists.php.net to get a copy of this message | ||
ID: 4284
Updated by: sniper
Reported By: cgi@harrison.org
Status: Feedback
Bug Type: MSSQL related
Assigned To:
Comments:
Could the fix be as simple as renaming the php_mssql.dll in php.ini
to php_mssql70.dll ??
--Jani
Previous Comments:
[2000-08-31 11:10:47] fmk@php.net
The error
PHP Fatal error: Unable to load dynamic library './php_mssql.dll'<br> A device
attached to the system is not functioning. in Unknown on line 0
has to do with missing DLL's. You have to install the MS SQL Server client tools on your
Windows 98 maschine. You could try to copy ntwdblib.dll from an NT maschine.
---------------------------------------------------------------------------
[2000-07-30 13:36:33] cgi@harrison.org
umm, yeah. I figured out how to make the MSSQL Functions work just fine in Windows NT. But for
the life of me I can't get PHP4 to use an extension like the php_mssql70.dll in Windows 98. I
read the readme, I edited the php.ini I've copied all sorts of .dll(s) everywhere and then some
all to no avail for Windows 98.
---------------------------------------------------------------------------
[2000-07-30 13:36:24] cgi@harrison.org
umm, yeah. I figured out how to make the MSSQL Functions work just fine in Windows NT. But for
the life of me I can't get PHP4 to use an extension like the php_mssql70.dll in Windows 98. I
read the readme, I edited the php.ini I've copied all sorts of .dll(s) everywhere and then some
all to no avail for Windows 98.
---------------------------------------------------------------------------
[2000-07-30 13:36:03] cgi@harrison.org
umm, yeah. I figured out how to make the MSSQL Functions work just fine in Windows NT. But for
the life of me I can't get PHP4 to use an extension like the php_mssql70.dll in Windows 98. I
read the readme, I edited the php.ini I've copied all sorts of .dll(s) everywhere and then some
all to no avail for Windows 98.
---------------------------------------------------------------------------
[2000-07-29 16:40:56] stas@php.net
You probably have some external error not connected to PHP.
---------------------------------------------------------------------------
[2000-05-01 02:39:49] cgi@harrison.org
I did, but PHP still reports errors.
PHP Fatal error: Unable to load dynamic library './php_mssql.dll'<br> A device
attached to the system is not functioning. in Unknown on line 0
---------------------------------------------------------------------------
[2000-04-30 14:39:24] sterling@cvs.php.net
Try downloading the latest PHP4 dll's from download.swwwing.com and see how that works.
---------------------------------------------------------------------------
[2000-04-30 11:36:56] cgi@harrison.org
Trying to use any of the mssql_ functions will cause termination from the rest of the script.
I am running Apache 1.3.12 on Windows 98 Second Edition. I have PHP4 RC1 and MS SQL 7. I have
followed (as best as I can) the README and INSTALL documentation.
I have a very simple .php script that makes a call to the mssql_connect function. I then print the
value of the variable used to capture the status of the function. When I look at the source PHP has
generated everything up the mssql_ function and nothing after.
I can connect normally using the ODBC functions to the SQL database.
---------------------------------------------------------------------------
Full Bug description available at: http://bugs.php.net/?id=4284