[UPHPU] PHP 5 and local php.inis
Velda Christensen
velda at novapages.com
Mon Mar 26 23:54:26 MDT 2007
Walt Haas wrote:
> Maybe have a customer's PHP pages all source a file with the necessary
> ini_set('name', 'value'); statements?
>
and Brandon Stout wrote:
>
> Go to your master php.ini file, and add something like this to the
> include_path directive:
>
> /home/*/www/
Having them point to www would, I think (?), skip past the default
settings on the server (not so good for people who want to use the
server's ini) wouldn't it? And also they'd need further help when they
need to tweak settings in subdirectories. Which is really pretty common
- alot of times people will want seperate php.ini's for their carts
(larger mem. limits) and their support systems (larger file uploads, for
example).
And tweaking all those pages manually would be alot of work for
programmer types, let alone our average customers. Plus the software
vendors are always wanting the settings tweaked - people editing their
programs by hand every time they needed to change a limit could be messy.
My only idea so far is to copy their root php.inis to all their
subdirectories.. and be thankful that most of our servers aren't on
php5. :-/
-v
More information about the UPHPU
mailing list