Re: MS SQL with FreeTDS

From: Date: Fri, 25 Aug 2000 17:45:19 +0000
Subject: Re: MS SQL with FreeTDS
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2381@lists.php.net to get a copy of this message
Yep, the new pconnect function does not work properly with freetds because freetds apparently does not support the DBSETLCHARSET command if the following changes are made to the sybase_db.c file it compiles properly with freetds if (user) { DBSETLUSER(sybase.login,user); } if (passwd) { DBSETLPWD(sybase.login,passwd); } //if (charset) { // DBSETLCHARSET(sybase.login,charset); //} "Gustafson, Mårten" wrote: > Hi. > I´ve compiled PHP with FreeTDS but when I try to fire up apache I get: > > Cannot load /usr/local/apache/libexec/libphp4.so into server: > /usr/local/apache/libexec/libphp4.so: undefined symbol: DBSETLCHARSET > /usr/local/apache/bin/apachectl start: httpd could not be started > > Does anyone know why? > > Regards > Marten > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net

« previous php.db (#2381) next »