Jump to content

How to Configure SQL Server 2000


Recommended Posts

hello,

 

I have PHP5.3 running on IIS6(finally).  But how can I connect to SQL Server?

 

I do not see a reference to php_mssql.dll in php.ini.  I don't even see the php_mssql.dll file in the PHP installation folder!! 

 

How can I configure PHP to work with SQL server? I am willing to to downgrade to PHP5.2 if neccessary.

Please Help.

Link to comment
https://forums.phpfreaks.com/topic/173119-how-to-configure-sql-server-2000/
Share on other sites

Step 1: http://us.php.net/manual/en/mssql.requirements.php

Step 2: In your php install dir, in the ext folder, make sure there is php_mssql.dll

Step 3: Enabled it in your php.ini file

Step 4: Restart webserver and confirm it's working with a phpinfo() page

 

Edit: Looks like there is more info here: http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=ccdf728b-1ea0-48a8-a84a-5052214caad9

php_mssql.dll is not in the ext folder.

And there is no reference to it in the php.ini file.

 

I made xamp work with SQL SERVER before.  Their php.ini did have a reference to it.

But that is not the case with the PHP Installation I downloaded from php.net.

I will look into the microsoft link you just sent me right now.  Thank you for your prompt response.

 

If I remember right...it was just:

Step 1: http://us.php.net/manual/en/mssql.requirements.php

Step 2: In your php install dir, in the ext folder, make sure there is php_mssql.dll

Step 3: Enabled it in your php.ini file

Step 4: Restart webserver and confirm it's working with a phpinfo() page

 

but I did it with 5.2, not 5.3

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.