This post is authored by Meet Bhagdev, Program Manager, Microsoft
PHP is one of the most widely used programming languages for web developers today. The Microsoft PHP Connector for SQL Server is used to connect PHP applications to SQL Server, whether SQL Server is hosted in the cloud, on-premises or provided as a platform as a service.
We recently announced SQL Server v.Next CTP1 on Linux and Windows, which brings the power of SQL Server to both Windows and — for the first time ever — Linux. Developers can now create applications with SQL Server on Linux, Windows, Docker or macOS (via Docker) and then deploy to Linux, Windows, or Docker, on-premises or in the cloud.
As part of this announcement, we have made some improvements to our PHP connector:
- SQL Server v.Next Support: You can now use the PHP connectors to connect to SQL Server v.Next CTP1 of SQL Server running anywhere, including SQL Server on Linux, Windows or Docker.
- Linux support: We’ve created Linux-native versions of sqlsrv and pdo_sqlsrv modules of the PHP SQL Server Connector. Now you can use the PHP Connector to connect to SQL Server on Ubuntu 15.04, 15.10, 16.04, Red Hat 6 and Red Hat 7.
- PHP 7.0 and 7.1 support: We have added support for the latest PHP runtimes for Windows and Linux with our releases on GitHub.
- PECL Install Experience for Linux: We have created native PECL packages for Linux. This enables developers to install, upgrade and uninstall the PHP SQL Server connector using the PECL package repository. This is explained in detail in our Getting Started tutorials.
- Community input for prioritization: We have also started using surveys on GitHub to guide our prioritization for features and improvements.
Get started today
- Check out the PHP connector source code on GitHub and our packages (sqlsrv, pdo_sqlsrv) on PECL. Make pull requests and let us know what you think.
- Try the new getting started tutorials that show you how to:
- Install SQL Server on Linux or Windows or run on Docker in multiple platforms.
- Create a simple app using C#, Java, Node.js, PHP and Python with SQL Server.
- Create a simple app using popular web frameworks and Laravel with SQL Server.
- Try out some cool SQL Server features that can make your apps shine.
- Get the latest v17.0 RC1 versions of SQL Server Management Studio (SSMS) and SQL Server Data Tools (SSDT).
- Get the mssql extension for Visual Studio Code and develop apps with SQL Server on Linux/macOS/Windows.
Connect with us
Join the conversation at https://gitter.im/mssqldev.
Learn more
- Visit Connect(); to watch overview, security, high-availability and developer tools videos about SQL Server on Linux on demand.
Learn more
- Go to the next release of SQL Server webpage to get started with interactive SQL Server on Linux hands-on labs for Linux administrators new to SQL Server and for existing SQL Server database administrators new to Linux.
- Visit Connect(); to watch overview, security, high-availability and developer tools videos about SQL Server on Linux on demand.
Other videos in this series
- Watch the Microsoft Mechanics video to see how to get started with SQL Server on Linux in less than a minute.
- SQL Server on Linux: use SQL Tools with SQL Server
- SQL Server + Node.js: what’s new
- SQL Server + Java: what’s new
- SQL Server + C#: what’s new
- SQL Server + Python: what’s new