# PHP 5.1 - extension dependencies

- Thread: https://externals.io/message/11318
- Original archive: https://news-web.php.net/php.internals/11318
- Started by Stefan Esser on 2004-07-18T10:49:30+00:00
- Messages: 2
- 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

---

## #11318 — Stefan Esser — 2004-07-18T10:49:30+00:00

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

Hi,

is there any plan to implement extension dependencies in 5.1?

With small changes it should be possible to support extension 
dependencies within the zend engine.

Right now there is no way to ensure that f.e. ext/session is loaded 
before ext/my_special_session if both are f.e. static.

Stefan

---

## #11320 — magnus@php.net — 2004-07-18T11:31:38+00:00

URL: https://externals.io/message/11318#11320 · In reply to: #11318

Hi Stefan


> Hi,
>
> is there any plan to implement extension dependencies in 5.1?

Wez have done some work on dependencies that change load order at compile time 
and we (Wez and I) have tested it on different platforms and it seems to work 
OK.

> With small changes it should be possible to support extension
> dependencies within the zend engine.
>
> Right now there is no way to ensure that f.e. ext/session is loaded
> before ext/my_special_session if both are f.e. static.


/Magnus

-- 
SCCS, the source motel!  Programs check in and never check out!
		-- Ken Thompson
