News Feed
Sections




News Archive
Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

Danne Lundqvist's Blog:
Adding support for MS SQL Server to PHP in Linux
January 06, 2010 @ 08:19:11

Danne Lundqvist has a new post showing how to get MS SQL Server support to work with your PHP installation on linux with the help of the FreeTDS tool.

Adding support for MS SQL Server in PHP is not very difficult. Searching (Google/Bing/whatever) reveals lots of information on how to do this with Windows - naturally - but very little on how to go about it using Linux. Most people use precompiled PHP installations and I will show how to add MS SQL Server support to a precompiled PHP installation here. Those of you compiling PHP yourselves will probably understand what to do and what not based on the information here as well.

You'll have to get and install (compile) the latest version of the FreeTDS software, install the mssql extension from the PECL repository and install the extension into your PHP instance. With it installed and working, you can change the configuration file to add in whatever server information you'd like.

0 comments voice your opinion now!
mssql server linux module freetds tutorial


blog comments powered by Disqus

Similar Posts

Rob Young's Blog: Non-blocking I/O With PHP-MIO

Tim Koschuetzki's Blog: Parsing XML With The DOM Library

Pádraic Brady's Blog: Complex Views with the Zend Framework - Part 3: Composite View Pattern

Giorgio Sironi's Blog: Practical PHP Patterns

TheTechLabs.com: Integrate Flex Builder 3.0 & Php easily with the fresh ZendAMF


Community Events

Don't see your event here?
Let us know!


performance conference release voicesoftheelephpant configure introduction part2 opinion symfony2 php7 interview api series example laravel language framework podcast application community

All content copyright, 2015 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework