Re: mssql_connect not working from command line

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Instruct ICC wrote:
From: Chris <dmagick@xxxxxxxxx>

Instruct ICC wrote:
Both your command
php -i  | grep 'php.ini'
and
find / -name php.ini 2>/dev/null
report the single /etc/php.ini

Hmm. 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).

I get
Configuration File (php.ini) Path => /etc/php.ini

Hmm strange. Looks ok.

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

--
Postgresql & php tutorials
http://www.designmagick.com/

--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [Postgresql Discussion]     [Kernel Newbies]     [Postgresql]     [Yosemite News]

  Powered by Linux