InMotion Hosting Support Center

Enabling php mssql driver on shared hosting

Category: Databases

2012-10-22 9:30 am EST

Hits: 1,699
I am a customer of a shared *launch* hosting plan and I would like to ask how can I enable database connection to a remote Microsoft SQL Server through php. It seems that the mssql php extension is not enabled by default.

Editing the php.ini file and uncommenting the line:

didn't work either and I suppose this makes sense, since the hosting is running on linux.

Do inmotionhosting servers have freeTDS running, which is required for using mssql, or any other tips on how to make ms sql server connection work through php?

You must login before you can ask a follow up question.

You must login before you can submit an answer.

Best answer chosen by User


9,968 Points
2012-10-22 9:42 am EST
Hello nbasili, and thanks for your question.

Unfortunately the ability to connect to a MSSQL database from PHP is not available on our Shared Hosting packages. This would require Apache/PHP being re-compiled with the MSSQL extension and also typically the FreeTDS library being installed.

This is something that can be done on our VPS (Virtual Private Servers) that are talked about on the following page:

VPS Hosting packages

Please let us know if you have any further questions at all.

- Jacob

You must login before you can post a comment about this answer.

Like this Question?

Support Center Login

Our Login page has moved, Click the button below to be taken to the login page.

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!