Embedded App: do not extract sources
I maintainer di solito rispondono entro 1 giorno
@dunglas ci sta già lavorando.
Dal 26/3/2026.
Valutazione
Questa issue non è ancora stata valutata.
Descrizione
Describe your feature request
Is your feature request related to a problem? Please describe.
The extraction to /tmp/frankenphp_... brings a few issues with it.
- /tmp must be writable.
- systemd ProtectTmp can lead to unexpected paths
- startup extracts the tar, can be slow
- old files linger in /tmp until restart of the machine
- source code is human readable without any reverse engineering
Describe the solution you'd like
Embedded filesystem inside the binary, rather than extracting the tares?
- possibly encrypted? not a goal to truly make it "secure", but not immediately showing the source code is a plus
Describe your approach
- create named virtual filesystem in go
- redirect caddy to use that vfs for e.g. file_server and matchers
- overwrite php file handlers to redirect to the vfs
- work around possible opcache issues (?)
- find a good solution for folders that need write access (e.g. symfony cache)?
- embed a database...? not sure how this could be possible, but who knows. otherwise create a proof of concept using sqlite.
I'll work on this slowly over the next weeks. Don't expect anything immediately. I think @dunglas mentioned that something like this was planned as a potential commercial offering, so if you don't want me to pick it up, just let me know now before I start.
- Lingua principale
- Go
- Stelle
- 11.4k
- Fork
- 490
- Merge medio
- 3g 11h
- PR unite (30g)
- 29
Preparare l'ambiente
- Include un Dockerfile o un file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di php/frankenphp
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
php/frankenphp#2671 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
Include frankenphp version in logsForse già presa @ousamabenyounes l’ha presa 82 giorni fa. Apertaenhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
php/frankenphp#2483 · 3 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
suggestion about compile.mdForse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Apertaenhancement
Difficoltà 1/5 1-3 ore Idoneità per principianti 68/100
php/frankenphp#601 · 5 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
v1.13.0: config reload returns HTTP 500 "server is not registered, you must first call frankenphp.Init() with the WithServer() option" while workers boot (regression from v1.12.7)Forse di nuovo libera Una pull request per questa issue è stata chiusa senza essere unita. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 54/100
php/frankenphp#2698 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
bug
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
php/frankenphp#2695 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
Tutte le issue di php/frankenphp
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
prime-radiant-inc/evener#4329 ·
I maintainer di solito rispondono entro 1 giorno
-
Add `pdfcpu` to the pantryAperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 79/100
openwatersio/aiscast#277 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 83/100
restic/restic#22112 · 1 commento ·
I maintainer di solito rispondono entro 3 giorni