How install pdo_sqlsrv

Problems with the Linux version of XAMPP, questions, comments, and anything related.

How install pdo_sqlsrv

Postby 1shot2killz » 27. February 2024 13:15

Hi,
I have XAMPP 8.2.12 + Ubuntu 22.04 installed.
I need to connect to the MSSQL database.
Please provide a solution on how to install PDO_SQLSRV drivers. Step by step, what to download, what folder to copy to and what file to edit.
I've been trying different guides for two hours now, but nothing works :(

Thanks
1shot2killz
 
Posts: 2
Joined: 27. February 2024 13:10
XAMPP version: 8.2.12
Operating System: Ubuntu 22.04

Re: How install pdo_sqlsrv

Postby Nobbie » 28. February 2024 00:44

You cannot install pdo_sqlsrv to Xampp, there is no binary package for Xampp Linux. You may ask Bitnami if they include it in future releases.
Nobbie
 
Posts: 13176
Joined: 09. March 2008 13:04

Re: How install pdo_sqlsrv

Postby 1shot2killz » 01. March 2024 13:15

Is it not possible to manually add the driver and run it?
1shot2killz
 
Posts: 2
Joined: 27. February 2024 13:10
XAMPP version: 8.2.12
Operating System: Ubuntu 22.04

Re: How install pdo_sqlsrv

Postby MilesWeb » 04. March 2024 12:15

Nobbie wrote:You cannot install pdo_sqlsrv to Xampp, there is no binary package for Xampp Linux. You may ask Bitnami if they include it in future releases.

Thats right,
installing the PDO_SQLSRV driver directly within XAMPP on Ubuntu is not recommended.

You will need to use a separate PHP installation with the PDO_SQLSRV driver.
MilesWeb: Your Hosting, Our Responsibility!!
User avatar
MilesWeb
 
Posts: 10
Joined: 19. January 2024 10:40
XAMPP version: 8.0.30
Operating System: linux


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 54 guests