Unable to load Library
-
Friday, July 27, 2012 2:17 PM
Hi,
I've got Apache 2.2.22 with PHP 5.4.5 and want to load the "php_sqlsrv" library.
But if I start the Apache Deamon I've got an error:
PHP Warning: PHP Startup: Unable to load dynamic library 'ext\\php_sqlsrv_54_ts.dll' - Das angegebene Modul wurde nicht gefunden.\r\n in Unknown on line 0
Here the part of the php.ini file
;;;;;;;;;;;;;;;;;;;;;; ; Dynamic Extensions ; ;;;;;;;;;;;;;;;;;;;;;; extension=php_exif.dll extension=php_gd2.dll extension=php_ldap.dll extension=php_mbstring.dll extension=php_mysql.dll extension=php_mysqli.dll extension=php_sqlsrv_54_ts.dll extension=php_tidy.dll
The System is running on Windows Server 2003 R2 Service Pack 2
Did someone know why I get this error?
yours sincerely
HyP3r92
All Replies
-
Friday, July 27, 2012 4:29 PM
Microsoft's build is not compatible with Windows 2003. I have expressed my feelings on the subject and find it inconvenient.
I built a version for myself and others like me that still use XP/2003 - you can download from here: Blog
Rob
- Marked As Answer by HyP3r92 Monday, July 30, 2012 9:31 AM
-
Monday, July 30, 2012 9:31 AM
Hi Rob,
is that true? The new Library isn't compatible with Windows Server 2003 R2?
I used an older Version of this library and it worked over years pretty good...
The PHP Script should connect to a SQL 2005 System
yours sincerely
HyP3r
- Edited by HyP3r92 Monday, July 30, 2012 9:38 AM
-
Monday, July 30, 2012 3:02 PM
Hi HyP3r,
Either of SQL Server Native Access Client 10 or 11 will connect to SQL Server 2005, so either the official 3.0, or Robert's modification will connect. :)
Cheers,
Jonathan
This posting is provided 'AS IS' with no warranties, and confers no rights.
-
Monday, July 30, 2012 4:59 PM
I think only my build will work with PHP 5.4 on 2003 Jonathan, because it works with Native Client 2008... yours needs Native Client 2012, which only runs on Vista or better.
Rob
-
Tuesday, July 31, 2012 2:05 PM
Oh I was just stating this as a general case. :)
Cheers,
Jonathan
This posting is provided 'AS IS' with no warranties, and confers no rights.

