lostconjugate Posted March 18, 2010 Share Posted March 18, 2010 Hello, My company bought a product by invisionpower.com and they gave us the .php web files and said here, no support, have fun installing. So I am trying to figure out how to install this program and I am not a developer, just an end user. I am stuck on this error. PHP MSSQL extension not loaded I have it running in IIS7 on Windows Server 2008 x64. I am using PHP 5.3.2 of which I found a Windows Binary for. The PHP webpages load fine, but this exentension is a problem. I eventually found a .dll called PHP_mssql.dll and host of others and added them to C:\program files(x86)\PHP\ext\ and updated the PHP.ini file with extension=php_mssql.dll. Anyways to make a long story short, I have been searching google and trying all these crazy ideas people have about how to get around this error and none of it has worked. Does anyone know? Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/ Share on other sites More sharing options...
trq Posted March 18, 2010 Share Posted March 18, 2010 I eventually found a .dll called PHP_mssql.dll and host of others Where exactly did you find these dll's? All extensions should come shipped with the windows packages and are already located within php's ext directory. Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/#findComment-1028336 Share on other sites More sharing options...
lostconjugate Posted March 18, 2010 Author Share Posted March 18, 2010 I found it on a web server where their product was installed and working. They said we cant use it anyways because we are using SQL 2008. They said we need the SQL Server Driver for PHP, which is just a bunch of dynamic link libraries.... further down the rabit hole. Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/#findComment-1028343 Share on other sites More sharing options...
trq Posted March 19, 2010 Share Posted March 19, 2010 They who? As I said in my initial reply. All the extensions you need should already be within the ext directory. Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/#findComment-1028352 Share on other sites More sharing options...
lostconjugate Posted March 19, 2010 Author Share Posted March 19, 2010 I would hope everything you need would already be installed and working. They is this invisionpower.com company who made this product that doesn't come with everything you need Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/#findComment-1028611 Share on other sites More sharing options...
True`Logic Posted March 19, 2010 Share Posted March 19, 2010 IIS7 or any webserver by microsoft is almost always sub-par and requires a lot of manual configuration. If you would like to have your web server up and running and capable of using nearly all php related capabilities, search up an apache server package called "XAMPP". Install it, check "Svc" next to Apache and MySql on the control panel that comes with the package, and start those two up ("Start" buttons next to each one's name.) Invision Power Board is quite a good forum, however you may have problems with spam bots. There are a lot of bots for advertising porn and viagra that target invision power boards, so be prepared to put up some kind of defense against that. Good luck to you and your company! don't forget to ask if you or any of your developers need help with anything! Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/#findComment-1028646 Share on other sites More sharing options...
JohanBooysen Posted April 19, 2010 Share Posted April 19, 2010 I have had the same problem. The solution was that php 5.3 binaries are compiled without mssql support - if you do php_info() you will see that is was compiled without mssql support. I downloaded php 5.2 non thread safe binaries (zipped version) from php.net, replaced my c:\php folder's contents with that of the new download, restarted WWW (IIS) and voila, Bob was my uncle. (I am using Windows Web Server 2008 R2 with SQL Server 2008 Express) Quote Link to comment https://forums.phpfreaks.com/topic/195749-php-mssql-extension-not-loaded/#findComment-1044568 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.