I have an architectural type question that centers around php.
We have a website that people hit that uses php to dynamically
generate
web pages. We use Apache and php (although we don't have php compiled
in with apache). Our Unix like server (FreeBSD) that has php (and
Apache) on it that today communicates with the postgresql database on
another Unix like server (Linux). I configured the php set of
libraries with postgresql support in them.
(Unix server) (Unix server)
[Apache + PHP ] -----> [ postgresql ]
-
-
- (Win 2003)
[ MS SQL 200 ]
We are adding a Windows server into our system that contains MS-SQL
2000 on
it with another database to interact with. My question is to access
both databases from the php server (freebsd), is it only a matter of
compiling php with postgresql and mssql support in it or are there
other things to consider? I know there are different function calls
for each database type and even a PEAR interface that handles
different databases with a common interface. I am just looking at my
configurtion options/possibilities.
Thanks in advance
Mike