My goal is to get php on this redhat 9 machine to connect to a mssql 2k database on a 2003 server.
Sofar my success has been getting the php-ldap to connect to the ldap server, which really has nothing to do with this, but lets you know the network is working.
When installing RH9 I selected php packages and httpd (apache). Therfor php 4.2.2 was installed and apache 2.0.40 was installed. Come to find out I need to compile php from scratch to include php-mssql support. Also I needed to install freetds to link php-mssql to the 2003 server.
I installed freetds without error:
./configure --prefix=/usr/local/freetds
make & make install finished.
Then I removed the old version of php and all dependancies:
rpm -e php-mysql
rpm -e php
Finally I downloaded the latest php stable, 4.3.11 stable, and installed:
./configure --with-mssql=/usr/local/freetds --with-ldap
PROBLEM: for some reason apache still thinks the old php is working, how do I get apache and the new install of php 4.3.11 to recognize each other?
php was installed in /usr/local/lib/php I think.