Jakub Zelenka <bukka@php.netmailto:bukka@php.net> schrieb am Fr. 19. Okt. 2018 um 19:13:
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