Commit 1481e4c
committed
Accept php instance directly in PHPRequestHandler configuration
PHPRequestHandler now supports three configuration options:
- instanceManager: Custom PHPInstanceManager (advanced)
- php: Single PHP instance (creates SinglePHPInstanceManager internally)
- phpFactory + maxPhpInstances: Factory function (creates PHPProcessManager)
When a php instance is provided directly, the same transformations
(mkdir documentRoot, chdir, set requestHandler) are applied as with
phpFactory, keeping the behavior consistent.1 parent 11dbdf4 commit 1481e4c
1 file changed
+22
-0
lines changedLines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
96 | 97 | | |
97 | 98 | | |
98 | 99 | | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
99 | 108 | | |
100 | 109 | | |
101 | 110 | | |
| |||
207 | 216 | | |
208 | 217 | | |
209 | 218 | | |
| 219 | + | |
| 220 | + | |
| 221 | + | |
| 222 | + | |
| 223 | + | |
| 224 | + | |
| 225 | + | |
| 226 | + | |
| 227 | + | |
| 228 | + | |
| 229 | + | |
| 230 | + | |
| 231 | + | |
210 | 232 | | |
211 | 233 | | |
212 | 234 | | |
| |||
0 commit comments