On 6/19/07, Stefan Priebsch <[EMAIL PROTECTED]> wrote:
Pierre,
> The idea is to use the same set of "extension=foo" directives for all
> platforms (nearly all). It is relatively obvious that extension_dir
> will differ.
>
> I like this idea and will ease our life, a litte :)
I got that, and I like simplification. It would just not really make
php.ini files "portable" between Windows and Unix.
It will make extension mgr life easier, not more, not less, and that's
already a lot :)
I could even think of some other feature(let)s that might help us move
into that direction:
- define a unified path separator for include_path (the system-dependend
ones could still be accepted, thus keeping BC)
- accept paths in php.ini with forward slashes on all systems (I think
Apache also does -even requires- it that way)
We support / on windows already. If someone uses \ only, he puts
himself in the non ""portable"" side. I don't really see a reason to
stop to support one or another.
- also make zend_extension and zend_extension_ts "guess" wether dll or
so is to be loaded
just like the extension directive yes.
That being said, a 100% portable php.ini is not possible, the main
problem I had so far was to deal with different extension names on the
various platforms. However, it was less than a problem after that dl()
has been deprecated. But it can make installer/tester life easier to
have one common way to define extension in php.ini, even if the
various paths differ (to stay on topic).
Grüß
--Pierre
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php