# Layout Type

- Thread: https://externals.io/message/21192
- Original archive: https://news-web.php.net/php.internals/21192
- Started by Dragan Stanojevic - Nevidljivi on 2005-12-12T11:28:58+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #21192 — Dragan Stanojevic - Nevidljivi — 2005-12-12T11:28:58+00:00

URL: https://externals.io/message/21192#21192

Hi all,

I'm still trying to find various decisions of configure of php-5.1.1

It seems --with-layout is not awfully described:
Set how installed files will be laid out.  Type is one of "PHP" or "GNU"

When I look in configure.in I see that it sets oldstyleextdir variable, 
and, it changes only where php extensions are installed by default.

With that said, old style is:

$libdir/extensions/$extbasedir

while new style is:

$libdir/$extbasedir

Question is, why have we switched to new style, removing extensions dir?

I've searched archive of this mailing list, but I couldn't find the 
reason...

Is it ok to remove $extbasedir, so I only have extensions in 
extensions/* and not
extensions/$ZEND_MODULE_API_NO?

thank you for your time,
N::
