Problems building php5

i'm currently trying to re-install php5 from source on a fedora core 4 box (yes i know old). reason i am doing this from source is that i need mssql support which isn't included in the rpm i had used before.

i read that i needed to install freetds, so i downloaded the src and did the following commands...

./configure
make
make install

everything went fine with that install.

i didn't want to break any other packages that need php5 and that were currently using my rpm build of php5, so i used the configuation commands from the phpsysinfo output + the --with-mssql=/usr/src/freetds on my source install.

when i attempt to ./configure the php5 source, i get the following error...

Code:

checking for MSSQL support via FreeTDS... yes
configure: error: Could not find /usr/src/freetds/lib/libtds.a|so

I think --with-mssql=/usr/src/freetds is wrong (that the source directory, but you have already compiled and installed freetds). You must find out where freetds is installed (maybe /usr/lib or just /usr or something like that).

I was able to get a sample script running that connects to my mssql server. However I'm getting the following error that leads me to believe that the php-mssql module on my system still requires further configuring...

I was able to get a sample script running that connects to my mssql server. However I'm getting the following error that leads me to believe that the php-mssql module on my system still requires further configuring...

Code:

Call to undefined function mssql_connect()

Click to expand...

Please check if the module is enabled in php.ini. If you have to modify php.ini, don't forget to restart Apache.