Re: Feature(let) idea
| From: | Pierre | Date: | Tue, 19 Jun 2007 08:45:49 +0000 |
| Subject: | Re: Feature(let) idea | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-30245@lists.php.net to get a copy of this message | ||
On 6/19/07, Stefan Priebsch <stefan.priebsch@e-novative.de> 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 loadedjust 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