Re: [PHP-DB] pdo ?
[email protected] (Jim Giner)
| Newsgroups | php.db |
|---|---|
| Message-ID | <[email protected]> |
On 1/24/2013 7:07 PM, Matt Pelmear wrote: > On 01/24/2013 04:02 PM, Jim Giner wrote: >> >> 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. >> > > Honestly, you would be better off just putting those 6 overrides into > your common include file. > I'm curious why would you do that as opposed to just putting it in the > webroot with a single .htaccess file (or changing the global php.ini)? I don't have access to the global ini file. As for .htaccess - I thought your previous (?) said I would need to have multiple of them also.