RE: Linux/PHP and Windows/MSSQL

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



There are freetds rpms out there as well as mssql rpms.  I got it to work on
a Fedora Core 1 box but since upgrading to Fedora Core 4 I was not able to
find any rpms for either because they are not available for PHP5 (yet).  If
you find any I'd love to know.  Sorry I can't point to where I got them with
the older version of PHP because those notes are at work.

Robbert van Andel

-----Original Message-----
From: Rick Emery [mailto:rick@xxxxxxxxxxxxxxxxxxx] 
Sent: Thursday, October 06, 2005 6:30 PM
To: php-general@xxxxxxxxxxxxx
Subject:  Linux/PHP and Windows/MSSQL

Knowing that I'm not the only one to want to connect to Microsoft SQL 
Server on Windows from PHP and Apache on Linux, I'm seeking advice.

I set up a proof-of-concept application, using Gentoo Linux (with which 
I'm most familiar) as my base. Being a compile-from-source distribution 
with a lot of packages available, I simply had to set the "mssql" USE 
flag and emerge freetds and php. Voila; connectivity.

Not surprisingly, now that my organization has decided to go with PHP 
on Linux, management wants to use a commercially supported distribution 
(Red Hat or Novell/SUSE). I was surprised to discover that I couldn't 
find RPMs for freetds, nor could I find php-mssql RPMs, and the php 
RPMs available in the yum repositories weren't compiled with 
--with-mssql.

Is my only recourse to build freetds and php from source? I'm certainly 
capable of doing it, but I won't be the server administrator and I 
think it defeats what management wants to accomplish with a 
commercially supported distro (package management with easy updates).

Is anybody in a similar environment that has an easy solution, or can 
anybody offer advice?

Thanks in advance,
Rick
-- 
Rick Emery

"When once you have tasted flight, you will forever walk the Earth
with your eyes turned skyward, for there you have been, and there
you will always long to return"
                                              -- Leonardo Da Vinci

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux