Re: mssql_connect not working from command line
| From: | Chris | Date: | Thu, 13 Sep 2007 00:37:52 +0000 |
| Subject: | Re: mssql_connect not working from command line | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-44006@lists.php.net to get a copy of this message | ||
Instruct ICC wrote:
Hmm strange. Looks ok.From: Chris <dmagick@gmail.com> Instruct ICC wrote:I get Configuration File (php.ini) Path => /etc/php.iniBoth your command php -i | grep 'php.ini' and find / -name php.ini 2>/dev/null report the single /etc/php.iniHmm. do a php -i and look for: Configuration File (php.ini) Path => That will tell you where it's looking for the file. Maybe you need to create that file (or just symlink it to the other one).
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.iniI use debian and it places them in different folders: /etc/php5/apache2/php.ini and /etc/php5/cli/php.ini -- Postgresql & php tutorials http://www.designmagick.com/