Re: PDO working via Apache but not at the command line?
| From: | Scott Baker | Date: | Mon, 18 Oct 2010 21:26:58 +0000 |
| Subject: | Re: PDO working via Apache but not at the command line? | ||
| References: | 1 | Groups: | php.general php.pdo |
| Request: | Send a blank email to php-general+get-308808@lists.php.net to get a copy of this message | ||
On 10/18/2010 02:17 PM, ash@ashleysheridan.co.uk wrote:
It's most likely because both cli and web modules are using different php.ini config files. See what the output of a phpinfo() call in both browser and command line.I didn't even think about it parsing different php.ini files. Checking the output of phpinfo() I see it's calling the same php.ini (/usr/local/lib/php.ini) though. :( -- Scott Baker - Canby Telcom System Administrator - RHCE - 503.266.8253