I want to connect mssql server from php
- or -
Post a project like this1657
$10/hr
- Posted:
- Proposals: 19
- Remote
- #2533892
- Awarded
Azure Consultant | Cloud Consultant| Windows Server|Server | Powershell | Office365|IT consulting | AWS | GCP| Exchange Server| IT Support|System Administrator|Sys Admin
Noida
Top Web, Mobile Developer for B2B | B2C | Online Learning | MarketPlace | Travel
Solihull
239221830853092785346319930311458650068531134926949863060496147871923854363079511
Description
Experience Level: Entry
I can connect Mssql Server using SQL Management Studio. But I need to connect to Mssql server from PHP, Apache Server.
I m using linux ubuntu 18.04 and php 7.2
I just try this codes.
"123RGD");
$conn = sqlsrv_connect( $serverName, $connectionInfo);
if($conn) {
echo "Connection established.";
}else{
echo "Connection could not be established.";
}
it gives me error this error: "sqlsrv_connect is not function"
Yavuz ş.
100% (3)Projects Completed
3
Freelancers worked with
3
Projects awarded
15%
Last project
11 Sep 2019
Turkey
New Proposal
Login to your account and send a proposal now to get this project.
Log inClarification Board Ask a Question
-
Hello! I can help you, I also wanted to ask why you did not try to connect using PDO?
846122
We collect cookies to enable the proper functioning and security of our website, and to enhance your experience. By clicking on 'Accept All Cookies', you consent to the use of these cookies. You can change your 'Cookies Settings' at any time. For more information, please read ourCookie Policy
Cookie Settings
Accept All Cookies