Re: mssql_connect() commandline problem

From: Date: Tue, 14 Aug 2001 16:26:42 +0000
Subject: Re: mssql_connect() commandline problem
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-11345@lists.php.net to get a copy of this message
Sounds like you might be working with 2 different versions of php: Mod-php for Apache in the web environment, stand-alone php operating in the shell. You might want to start by ensuring that the stand alone version is compiled -with mssql. Try running phpinfo() in the shell? Richard Erik wrote:
When running a (php 4.0.6) script (on redhat 6.1) using mssql_connect() directly on the shell with "php -q script.php" i get a fatal error: Call to undefined function: mssql_connect() But this error does not occur when running the script through a browser (apache webserver).... What's the deal here? Erik Kaber


« previous php.db (#11345) next »