Re: pdo ?
Jim Giner <[email protected]>
| Newsgroups | gmane.comp.php.database |
|---|---|
| Message-ID | <[email protected]> |
On 1/24/2013 6:09 PM, Matt Pelmear wrote: > On 01/24/2013 01:34 PM, Jim Giner wrote: >>> >>> 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) >>> >>> -Matt >> It 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. >> > > 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. -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php