frankenphp
frankenphp copied to clipboard
π§ The modern PHP app server
The javascript files lack a shebang at the top of the file. This means they can't be executed directly. Fix: --- a/testdata/load-test.js +++ b/testdata/load-test.js @@ -1,3 +1,5 @@ +#!/usr/bin/env node...
### What happened? **Setup** ``` β°β$ which php /Users/me/.local/bin/php β°β$ which frankenphp 1 β΅ /usr/local/bin/frankenphp β°β$ frankenphp --version FrankenPHP 1.5.0 PHP 8.4.7 Caddy v2.10.0 h1:fonubS.... ``` **Script From** https://frankenphp.dev/docs/known-issues/#composer-scripts-referencing-php ```...
Env vars set with the env subdirective in the php(_server) directive are not available to `getenv()`
### What happened? Working on a FrankenPHP docker image for Nextcloud, there is the environment variable `front_controller_active` that needs to be set, to mimick the behaviour of the default Nextcloud...
`jq` is a more robust and maintainable approach to parse JSON when building images instead of using `grep | awk | sed`. This _may_ help with the CI failures of...
### What happened? Hi everyone, and congrats KΓ©vin on the php foundation support π So, I am not able to build a Docker image with custom Caddy modules as per...
There are some jobs failing times to times because an invalid URL is provided to curl. Github API only allows 60 requests per hour, which could be not that much...
### What happened? I grabbed an example of using Franken as a go library ``` package main import ( "log" "net/http" "github.com/dunglas/frankenphp" ) func main() { if err := frankenphp.Init();...
`filepath.Separator` is a compile-time constant, performances should be pretty much the same as using the hard-coded separator. It additionally brings Windows compatibility.