Ticket #114 (closed enhancement: wontfix)
Store precompiled opcode in filesystem and load at module startup
| Reported by: | axel | Owned by: | moo |
|---|---|---|---|
| Priority: | minor | Milestone: | 2.0.0 |
| Component: | cacher | Version: | 2.0.0-dev |
| Keywords: | Preload, Minit, Startup, SPL | Cc: | asauerhoefer@… |
| Blocked By: | PHP Version: | 5.2 | |
| Application: | my.nero.com | Need User Feedback: | no |
| Other Exts: | SAPI: | apache2handler | |
| Probability: | Blocking: |
Description
Hi,
today i worked on a prelaod mechanism for php classes. The main idea was to "compile" php classes and store it in filesystem. Than to write a little php extension that "preload's" this files at module startup ( e.g. MINIT ).
So this classes where at the beginning available, nobody must include or require this files. I read many lines of SPL code and zend manuals. Unfortunately my little extension never worked ( Maybe to low coding skill ).
Now i found your extension and read the wiki. Actual your extension does all i need, almost :)
I wan't to ask you, if you think it is technical possible to implement such a feature?
Im not really sure, if the MINIT function is the right place to execute functions like zend_execute ...
best regards, axel

