Solved

PHP on IIS7 + MS SQL

Posted on 2010-08-18
4
847 Views
Last Modified: 2013-12-13
i have setup PHP to run on IIS with no issues, but am now trying to connect to MS SQL 2005 and am having issues, i have tried several different code samples and just get a blank page, I ran PHP from C:\PHP in a command prompt and got the below 2 errors, which i am guessing is part of the problem, just not sure how to fix - what do i need to do?

c:\PHP>php
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php5\php_mssql.dll
' - The specified module could not be found.
 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library 'C:\php5\php_wincache.
dll' - The specified module could not be found.
 in Unknown on line 0
0
Comment
Question by:dkilby
  • 2
  • 2
4 Comments
 
LVL 8

Expert Comment

by:Jessie Gill, CISSP
ID: 33470707
It looks like you are missing the DLL files

you should have a folder called ext in your PHP root directory.  This is where teh above dll's need to be.  Once they are copied restart IIS.
0
 

Author Comment

by:dkilby
ID: 33470725
Inside the php folder there is a 'ext' folder and inside i can see php_mysql.dll and php_mysqli.dll, cant see the php_wincache, will try and find it, but the sql one i can see
0
 

Author Comment

by:dkilby
ID: 33470728
ok just realized what i was reading as MS is actually MY SQL - where can i get php_mssql.dll from?
0
 
LVL 8

Accepted Solution

by:
Jessie Gill, CISSP earned 500 total points
ID: 33470827
I acually got mine from version 5.2.14 , You could take teh DLL from taht and give it a try.  You are probably using 5.3

here is a link that may help

http://php.net/manual/en/install.windows.extensions.php
0

Featured Post

IT, Stop Being Called Into Every Meeting

Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

Join & Write a Comment

Introduction Many web sites contain image galleries; a common design for these galleries includes a page with a collection of thumbnail images.  You can click on each of the thumbnail images to see the larger version of the image.  This is easily i…
Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

757 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now