NYCPHP Meetup

NYPHP.org

DB connection - web vs. command line?

Freedman, Tom S. tfreedma at ubspw.com
Thu Jan 9 14:42:08 EST 2003


Hi all,

I've run into another weird one.  I'm using PHP 4.1.2 to connect to SQL
Server 2000.  If I run the page from IIS, it connects to the DB just fine
and runs a stored procedure.  If I execute the same page via the command
line, it dies on the connection attempt (mssql_connect()).  Anyone run into
something like this?  I can't figure out why they'd behave differently.

Thanks in advance!
Tom



More information about the talk mailing list