Re: mssql_connect not working from command line

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

 




However, a web page that includes the same file with the mssql_connect call still works fine, and now it makes sense that I see mssql is still enabled in phpinfo.

The apache version of the php.ini file is different to the cli version. Make sure you are looking at the right one.

On debian I have two separate directories for each config - /etc/php5/apache2/ and /etc/php5/cli/

Try this:

php -i  | grep 'php.ini'

from the command line to work out which php.ini to look at.

--
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