Re: mssql_connect not working from command line

From: Date: Thu, 13 Sep 2007 14:29:12 +0000
Subject: Re: mssql_connect not working from command line
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-44007@lists.php.net to get a copy of this message
From: Chris <dmagick@gmail.com> Instruct ICC wrote:
You said something about 2 different configuration files. I'm just making up this name, but do you have something like: CLI_Configuration File (php.ini) Path => /etc/cli_php.ini as well as: Configuration File (php.ini) Path => /etc/php.ini
I use debian and it places them in different folders: /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini
cat /etc/redhat-release Fedora Core release 6 (Zod) dmesg | head Linux version 2.6.20-1.2962.fc6 (brewbuilder@ls20-bc2-14.build.redhat.com) (gcc version 4.1.1 20070105 (Red Hat 4.1.1-51)) #1 SMP Tue Jun 19 19:27:14 EDT 2007 php -version PHP 5.1.6 (cli) (built: May 9 2007 11:47:50) The strange thing is that it used to work up until apparently Jul 31. And the /etc/php.ini had been changed well before that (and had been working on both web and cli). 1) A web page referencing mssql_connect works in a browser. 2) A cronjob (CLI) referencing mssql_connect which had been working now does not work. New Info: 3) Attempting to run the web page from the command line fails on at mssql_connect. 4) A CLI script using file("The web page") actually works?!?!?!?! _________________________________________________________________ Gear up for Halo® 3 with free downloads and an exclusive offer. http://gethalo3gear.com?ocid=SeptemberWLHalo3_MSNHMTxt_1

« previous php.db (#44007) next »