Click to See Complete Forum and Search --> : php/apache/linux and MSSQL


Anon
07-25-2001, 11:14 AM
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.

Anon
07-25-2001, 11:39 AM
nm, moved the SetEnv call to right above where the php module is called at and apache starts up, now I just need to figure out why the SQL server is refusing the connection.