Jump to content

PHP MSSQL extension not loaded


Recommended Posts

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?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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!

Link to comment
Share on other sites

  • 5 weeks later...

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)

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.