Hello. I'm have PHP 4.0.6 compiled as a DSO module for Apache. From the
command line (with the same ./configure line, with out the --with-apxs
paramater) it runs fine, but from the web, it is unable to connect to my
MSSQL server. I've configured php --with-sybase=/usr/local/freetds. I've
tried changing versions of just about everything, but nothing yet works.
Here is the source of the php script.

Thanks in advance

<?
putenv("SYBASE=/usr/local/freetds");
putenv("LD_LIBRARY_PATH=/usr/local/freetds/lib");
putenv("TDSVER=70");

$sql = mssql_connect('nacas','argon','<SNIP>') or die("Could not connect to
SQL\n");

?>






-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to