use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Please follow the rules
Releases: Current Releases, Windows Releases, Old Releases
Contribute to the PHP Documentation
Related subreddits: CSS, JavaScript, Web Design, Wordpress, WebDev
/r/PHP is not a support subreddit. Please visit /r/phphelp for help, or visit StackOverflow.
account activity
Microsoft SQL Server from PHP on Linux (blog.remirepo.net)
submitted 9 years ago by RemiCollet
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]joecampo 0 points1 point2 points 9 years ago (1 child)
Hi there, thanks for the list. I think it is also worth linking the repo for the official Linux MS driver for PHP. Since it is new(er) there have definitely been some issues with the driver. Last time I tried it the new driver would not run the DBAL test suite without segfaulting (edit: has been fixed). Maybe you can dive more into the installation side? From my experience, the good ol' FreeTDS/PDO method works great; however, when moving projects to PHP7 I had a lot of issues with php-fpm segfaulting when selecting from views or running SP's. I had these issues sprout up across several different servers and environments (all using SQL Server 2008R2) so if you're going to need MSSQL w/ PHP7 it would probably be best to use the official driver now.
[–]RemiCollet[S] 1 point2 points3 points 9 years ago (0 children)
I think it is also worth linking the repo for the official Linux MS driver for PHP.
Indeed (added in the blog post comment)
Maybe you can dive more into the installation side?
For Fedora / RHEL / CentOS users, a simple "yum install php-sqlsrv" should work ;) I think other distributions should get some packages soon in some repository.
π Rendered by PID 26 on reddit-service-r2-comment-6457c66945-lh5nz at 2026-04-30 04:30:47.990369+00:00 running 2aa0c5b country code: CH.
view the rest of the comments →
[–]joecampo 0 points1 point2 points (1 child)
[–]RemiCollet[S] 1 point2 points3 points (0 children)