I'm running Windows Server 2003, PHP 2.3.5 and IIS6. I've been trying to install a forum (PHPBB), but I'm having issues with it. When consulting the php error log, I read the following:
PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP5\ext\php_mssql.dll' - The specified module could not be found.
in Unknown on line 0
The file is there. I've double and triple checked the spelling of the directories and .dll file. The php.ini file has the mssql extension enabled and pointing to the correct location as well (I figured that was obvious since the error log says it's actually looking for the file, but I wanted to clarify).
Any thoughts? Thanks!
issues with php5.2.3 and mssql 2005...
Moderator: General Moderators
I've gone through the install instructions for php_mssql.dll in the php manual, and came across one item I don't understand...
I don't get the part that's bolded. What am I supposed to do?The MSSQL extension is enabled by adding extension=php_mssql.dll to php.ini.
To get these functions to work, you have to compile PHP with --with-mssql[=DIR], where DIR is the FreeTDS install prefix. And FreeTDS should be compiled using --enable-msdblib.
- stereofrog
- Forum Contributor
- Posts: 386
- Joined: Mon Dec 04, 2006 6:10 am
- stereofrog
- Forum Contributor
- Posts: 386
- Joined: Mon Dec 04, 2006 6:10 am
- stereofrog
- Forum Contributor
- Posts: 386
- Joined: Mon Dec 04, 2006 6:10 am
This is because dlls are looked for in PATH and your php directory is probably not there.
For the future (and for your other problem) I highly recommend installing FileMon and RegMon utilities from sysinternals (http://www.microsoft.com/technet/sysinternals). They are very helpful in finding out which files and registry keys your system is looking for.
For the future (and for your other problem) I highly recommend installing FileMon and RegMon utilities from sysinternals (http://www.microsoft.com/technet/sysinternals). They are very helpful in finding out which files and registry keys your system is looking for.