I am trying to get FreeTDS .52 and php 4.0.6 working with MSSQL on a remote server.
I compiled FreeTDS with ./configure (just used all the defaults).
Then compiled php 4.0.6 with ./configure --with-pgsql --with-sybase=/usr/local/freetds --enable-bcmath --with-gd --with-apxs
Then try and restart Apache to get it working and get:
Cannot load /etc/httpd/modules/libphp4.so into server: /etc/httpd/modules/libphp4.so: undefined symbol: tdsdbopen
I have added SetEnv SYBASE /usr/local/freetds to httpd.conf for apache. Any clues? I've tried searching /ext/sybase/php_sybase_db.c and found no references to dbopen, so I can't replace them with tdsdbopen.