Re: MS SQL extension not loading
| From: | Laszlo Nagy | Date: | Thu, 27 Apr 2006 11:52:13 +0000 |
| Subject: | Re: MS SQL extension not loading | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-234913@lists.php.net to get a copy of this message | ||
Hello Richard,
I hope you remember my question.
Richard Lynch wote:
On Tue, April 11, 2006 11:45 am, Laszlo Nagy wrote:I have a problem with a Win2003 server, IIS6 and PHP 5.1.2. I have Microsoft SQL Server tools installed. C:\PHP is on the path. Extension dirs are configured correctly. The php_mssql.dll is present there. Everything looks okay, except that the server does not load the extension. If I do....
Step #5. Switch to a superior web server: Apache :-) So did I. I replaced the server with a new Windows 2000 server and MS SQL server, I have Apache 2.0.55 with PHP 5.1.2. The only thing I have in php.ini is:extension_dir="C:\PHP\ext" extension=php_mssql.dll The php.ini file path was setup with the PHPIniDir directive. I can load other extensions withouth problem. As another example, if I try to use extension=php_curl.dll then I get an error message about "libssleay32.dll not found" when I try to stop apache. But my main problem is the php_mssql.dll extension. It does not throw any errors, does not log errors into (apache) logfiles, but it is not loaded. Please help me. My boss is killing me because I could not solve this problem for weeks. Thanks, Laszlo