NOTE: I just remembered there -is- a config-file-scan-dir option at
compile time. However, what about doing away with this and making it
inline in php.ini, the syntax can match mysql, as it uses ini files as
well.

This mainly will help with programatically creating PHP-FPM pool
config files, but could open up to other distro-specific or helpful
things.

This could allow for say, Ubuntu's php5-apc package to not modify
php.ini, but include an apc.ini in /etc/php5/conf.d/ for example
(which it might actually do already. I can't install it without
messing up my box as I compile my own PHP)

Since the scanning code is already there, seems like pretty trivial
changes to the config file parser to add in an include declaration
that behaves the same way (and supports wildcards!) - this would also
allow for multiple locations to be scanned, not just the one defined
at compile time. (I'm thinking of repos who have precompiled the PHP
binary, so there is no flexibility there for users of
repository-created packages)

I'd submit a patch but I don't know C.

Thoughts?

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to