Đã Đóng

Setup PHP PDO (SQLSRV) Drivers on Ubuntu 16.04 to connect to MS SQL SERVER

I setup Ubuntu 16.04 LTS server and having trouble getting PHP 7.0 to connect to MS SQL Server through PDO.

I want to connect using the PDO class using sqlsrv as the database driver type (not using dblib/FreeTDS drivers or any non PDO method of connecting, such as mssql_connect).

I followed this article with errors and feel like I almost completed the process, but need someone with more knowledge to get it working. It's not necessary to follow this article, please do it your own way if necessary.

[login to view URL]

When I try to construct PDO and connect I received the error:

" PDOException: could not find driver ".

I know my code is not the issue as it's worked reliably using sqlsrv on Windows and dblib on Ubuntu.

The deliverable on this will be:

[login to view URL] step by step instructions on how to get it working on a fresh install of Ubuntu 16.04 LTS, using only minimal amount of installed software (e.g. apache, php 7.0, necessary drivers). So that I can use the same instructions to get it working on my server. A simple PHP script showing successful connection like this:

$c = new PDO("sqlsrv:Server=localhost;Database=testdb", "UserName", "Password");

I can provide root access to a clean Ubuntu install for a few days if required.

Kĩ năng: Apache, Linux, PHP

Xem nhiều hơn: ubuntu 16.04, freelancer on ubuntu 16.04, ms sql server setup, configuring php ms sql server iis windows server, shindig setup php, setup php projects mac, fedora setup php, setup php motion website, simple xml soap setup php, form setup php, setup php fedora, pay setup php mafia game, setup php webform attachment godaddy, setup php server 2003, setup php server verification email

Về Bên Thuê:
( 1 Nhận xét ) Dallas, United States

ID dự án: #16801752

6 freelancer đang chào giá trung bình $31 cho công việc này

$25 USD trong 1 ngày
(3 Nhận xét)
0.0
havar2018

Hello I have MS SQL Server 2017 installed on Windows 10 and Ubuntu virtual machine. Please call me so that I can get started right away. Thanks.

$55 USD trong 2 ngày
(1 Nhận xét)
0.0
talhamq

A proposal has not yet been provided

$30 USD trong 1 ngày
(136 Nhận xét)
0.0
joshiprakash

Hi, I can help you to install PHP/PDO driver on your ubuntu 16.4 let me know ssh details of your server will start asap. Thanks

$19 USD trong 0 ngày
(50 Nhận xét)
0.0
gunslinger

I can help you to setup PHP PDO on latest ubuntu server and connect to ms sql server. please kindly contact me for more further discussion.

$30 USD trong 1 ngày
(37 Nhận xét)
0.0
Anwar1994

Hey! I am interested in your [login to view URL] send me so that we can discuss more! Relevant Skills and Experience I have fully skill in this work as you need.

$25 USD trong 1 ngày
(0 Nhận xét)
0.0