[nycphp-talk] DB connection - web vs. command line?
CHUN-YIU LAM
chun_lam at hotmail.com
Fri Jan 10 22:05:35 EST 2003
Sounds like you are using 2 different PHP. One to run on the web server and
the other run on the command line. If this is the case, you might have to
change the setting for the command line PHP.
Matthew
----Original Message Follows----
From: "Freedman, Tom S." <tfreedma at ubspw.com>
Reply-To: talk at nyphp.org
To: NYPHP Talk <talk at nyphp.org>
Subject: [nycphp-talk] DB connection - web vs. command line?
Date: Thu, 9 Jan 2003 14:42:16 -0500
Received: from mc10-f17.bay6.hotmail.com ([65.54.166.153]) by
mc10-s9.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 9 Jan
2003 11:50:42 -0800
Received: from parsec.nyphp.org ([66.250.131.26]) by
mc10-f17.bay6.hotmail.com with Microsoft SMTPSVC(5.0.2195.5600); Thu, 9 Jan
2003 11:50:41 -0800
Received: from nyphp.org (parsec.nyphp.org [66.250.131.26])by
parsec.nyphp.org (8.12.6/8.12.6) with ESMTP id h09JgGSt037833;Thu, 9 Jan
2003 14:42:16 -0500 (EST)(envelope-from listmaster at nyphp.org)
Message-Id: <200301091942.h09JgGSt037833 at parsec.nyphp.org>
X-Paralist-Archived: <http://nyphp.org/list/paralist_archive.php?L_mid=2207>
X-List-Software: Paralist 0.6
List-ID: <nyphptalk.nyphp.org>
List-Owner: <mailto:listmaster at nyphp.org>
List-Archive: <http://nyphp.org/list/paralist_archive.php?L_lid=1>
List-Subscribe: <http://nyphp.org/list/>
List-Unsubscribe: <http://nyphp.org/list/>
Organization: New York PHP
X-Mailer: Paramail 0.5
Return-Path: listmaster at nyphp.org
X-OriginalArrivalTime: 09 Jan 2003 19:50:42.0058 (UTC)
FILETIME=[64422EA0:01C2B818]
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
--- Unsubscribe at http://nyphp.org/list/ ---
_________________________________________________________________
MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*
http://join.msn.com/?page=features/virus
More information about the talk
mailing list