On Oct 20, 2018 11:48 PM, Benjamin Eberlei <kont...@beberlei.de> wrote:
Jakub Zelenka <bu...@php.net<mailto:bu...@php.net>> schrieb am Fr. 19. Okt. 2018 um 19:13: On Fri, Oct 19, 2018 at 9:17 AM Dmitry Stogov <dmi...@zend.com<mailto:dmi...@zend.com>> wrote: > Hi Internals, > > > I would like to start discussion on a Preloadng RFC > https://wiki.php.net/rfc/preload > > Nice! Apology if I missed it in the RFC but can't find in which stage the preloading is done (also haven't checked the patch so sorry if it's obvious)? I'm mainly interested if it's done in MINIT which would mean executing that script as a different user when starting FPM as root and switching the user after fork. Basically what we discussed some time ago: https://externals.io/message/102052#102065 In the same spirit. Can extensions alteady access the classes in MINIT or only in RINIT? I didn't get the question. Preloading works at MINIT stage, after all internal extensions. Dmitry. <https://externals.io/message/102052#102065> Cheers Jakub