Re: pdo ?
| From: | Jim Giner | Date: | Fri, 25 Jan 2013 00:02:16 +0000 |
| Subject: | Re: pdo ? | ||
| References: | 1 2 3 4 5 6 7 8 9 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-48670@lists.php.net to get a copy of this message | ||
On 1/24/2013 6:09 PM, Matt Pelmear wrote:
On 01/24/2013 01:34 PM, Jim Giner wrote:You would only have to modify multiple .htaccess files if you have multiple document roots that need this change applied to them. Otherwise just create/edit the .htaccess file in the document root for the site you want the change applied to. .htacess isn't always read by Apache. Some configurations tell it to read or not read that file, so you may need to check that as well. phpinfo() will tell you which php.ini file is being used-- if you edit the one it says is being used you should see a change unless something else is overriding the setting (like an .htaccess file or your code). -Matt I took my 6 line override php.ini file and replicated (with a script) into all of my possible folders under my web root. NOt exactly an elegant solution, but with the script, easy to maintain.If you are using another web server or running PHP as FastCGI you may need to consider other options (changing the setting globally or doing a require_once() of your config changes?, or see the FastCGI example here: http://www.askapache.com/php/php-htaccess-tips-tricks.html) -MattIt sounds like I'll have to modify multiple htaccess files - which is about the same as this php.ini problem - having multiples perhaps. I've been working fine with a php.ini that merges onto the "full" ini file. Suddenly this new appl is not seeing the overrides. Any info you can point me to about how php.ini files work? The manual doesn't get very specific about it.