Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

PHP on IIS7 + MS SQL

Posted on 2010-08-18
4
Medium Priority
?
864 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 2000 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

[Webinar] Lessons on Recovering from Petya

Skyport is working hard to help customers recover from recent attacks, like the Petya worm. This work has brought to light some important lessons. New malware attacks like this can take down your entire environment. Learn from others mistakes on how to prevent Petya like worms.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Popularity Can Be Measured Sometimes we deal with questions of popularity, and we need a way to collect opinions from our clients.  This article shows a simple teaching example of how we might elect a favorite color by letting our clients vote for …
This article discusses how to create an extensible mechanism for linked drop downs.
The viewer will learn how to dynamically set the form action using jQuery.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
Suggested Courses

604 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