I have read from different forums, PHP website and Microsoft website how to connect PHP to MS SQL Server but the provided solutions didn't worked for me. If you could help me in this would be greatly appreciated.
Jerome_3 0 Newbie Poster
Recommended Answers
Jump to PostWhere is your code, and what error you get while running your script?
In addition to this (you still haven't answered), what exactly is your setup?
Jump to PostDid you set SQL Server to accept remote connections? Since the VM is a different machine PHP can't connect to localhost.
All 8 Replies
urtrivedi 276 Nearly a Posting Virtuoso

Sanchit_Sahu
andrevanzuydam 1 Junior Poster in Training Premium Member
Jerome_3 0 Newbie Poster
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Jerome_3 0 Newbie Poster
pritaeas 2,211 ¯\_(ツ)_/¯ Moderator Featured Poster
Jerome_3 0 Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.