We probably should move towards the config-file-path mechanism I added a
while back.  Instead of simply specifying a php.ini file (or in addition
to if we so choose) byt default we should do a
--with-config-file-path=/etc/php (exact default path to be argued over in
numerous threads for years to come, I am sure) and have each extension
have their own .ini file with their extension-specific ini directives.

This is how we are doing it at Yahoo with what is now 100+ custom
extensions and it is actually working very nicely.

-Rasmus

On Thu, 18 Dec 2003, Jani Taskinen wrote:

>
>     Why do you add ini options for extension that doesn't exist
>     in php-src ?? And there's no need to add those anyway,
>     document them in the manual..
>
>     --Jani
>
>
> On Thu, 18 Dec 2003, John Coggeshall wrote:
>
> >john         Wed Dec 17 21:06:01 2003 EDT
> >
> >  Modified files:
> >    /php-src php.ini-dist php.ini-recommended
> >  Log:
> >  Adding the tidy.default_config and tidy.clean_output options to the .ini
> >  files
> >
> >
> >
> >Index: php-src/php.ini-dist
> >diff -u php-src/php.ini-dist:1.202 php-src/php.ini-dist:1.203
> >--- php-src/php.ini-dist:1.202       Thu Dec  4 07:05:54 2003
> >+++ php-src/php.ini-dist     Wed Dec 17 21:06:00 2003
> >@@ -578,6 +578,15 @@
> > ; Module Settings ;
> > ;;;;;;;;;;;;;;;;;;;
> >
> >+[Tidy]
> >+; The path to a default tidy configuration file to use when using tidy
> >+;tidy.default_config = /usr/local/lib/php/default.tcfg
> >+
> >+; Should tidy clean and repair output automatically?
> >+; WARNING: Do not use this option if you are generating non-html content
> >+; such as dynamic images
> >+tidy.clean_output = Off
> >+
> > [Syslog]
> > ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
> > ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
> >Index: php-src/php.ini-recommended
> >diff -u php-src/php.ini-recommended:1.147 php-src/php.ini-recommended:1.148
> >--- php-src/php.ini-recommended:1.147        Thu Dec  4 07:05:54 2003
> >+++ php-src/php.ini-recommended      Wed Dec 17 21:06:00 2003
> >@@ -598,6 +598,15 @@
> > ; Module Settings ;
> > ;;;;;;;;;;;;;;;;;;;
> >
> >+[Tidy]
> >+; The path to a default tidy configuration file to use when using tidy
> >+;tidy.default_config = /usr/local/lib/php/default.tcfg
> >+
> >+; Should tidy clean and repair output automatically?
> >+; WARNING: Do not use this option if you are generating non-html content
> >+; such as dynamic images
> >+tidy.clean_output = Off
> >+
> > [Syslog]
> > ; Whether or not to define the various syslog variables (e.g. $LOG_PID,
> > ; $LOG_CRON, etc.).  Turning it off is a good idea performance-wise.  In
> >
> >
>
>
>
> --
> PHP CVS Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to