Skip to content

Commit b816319

Browse files
committed
add warning about frankenphp
1 parent 9a5bcce commit b816319

3 files changed

Lines changed: 12 additions & 4 deletions

File tree

docs/faq_troubleshooting.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ If Lychee is not working properly, try to open `https://lychee.example.com/Diagn
44

55
Another way to see this screen is to use the command: `php artisan lychee:diagnostics`
66

7+
### When I update my .env with Lychee v7, the changes are not taken into account, what can I do?
8+
9+
Lychee v7 with FrankenPHP requires a container restart to take into account changes made to the `.env` file.
10+
711
### When I do X, I get an error API not found, what can I do?
812

913
Open the dev modules of your browser (usually by pressing `F12`) and open the Network tab.

docs/upgrade.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,9 @@ Version 7 marks a fundamental shift in Lychee's Docker architecture:
1313
3. **Optional worker service**: Background job processing can now be scaled independently
1414
4. **New environment variables**: Worker mode configuration requires specific settings
1515

16+
Do note that this change also has consequences in the way Lychee reads your `.env`
17+
file. Updating values in the `.env` file will now require a container restart to take effect.
18+
1619
### Volume Mount Changes
1720

1821
#### Version 6 Volume Structure (OLD)

src/content/post/2025-12-31-version-7.mdx

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,15 @@ Security remained a priority with multiple SSRF vulnerability fixes, ensuring yo
2323

2424
### Version 7: Our Most Ambitious Release Yet
2525

26-
Version 7 marks a major architectural shift for Lychee. Our Docker release is now powered by FrankenPHP with Laravel Octane instead of the traditional nginx + PHP-FPM stack. This infrastructure keeps the framework in memory and reuses components across requests, eliminating the overhead of rebuilding the entire application on every page load. As a result, boot time drops from 40-60ms to just 4-6ms per request, with 3-4x better throughput and significantly reduced latency.
26+
Version 7 marks a major architectural shift for Lychee. Our Docker release is now powered by FrankenPHP with Laravel Octane instead of the traditional nginx + PHP-FPM stack. This infrastructure keeps the framework in memory and reuses components across requests, eliminating the overhead of rebuilding the entire application on every page load. As a result, boot time drops from 40-60ms to just 4-6ms per request, with 3-4x better throughput and significantly reduced latency. In May 2025, FrankenPHP gained official support from the PHP Foundation, cementing its position as the future of high-performance PHP applications.
2727

28-
In May 2025, FrankenPHP gained official support from the PHP Foundation, cementing its position as the future of high-performance PHP applications.
29-
30-
The new FrankenPHP-powered Docker image is available at `ghcr.io/lycheeorg/lychee:edge` and will become the default once version 7 is fully stable.
28+
The new FrankenPHP-powered Docker image is available at `ghcr.io/lycheeorg/lychee` and will become the default once version 7 is fully stable.
3129

3230
This architectural change means you will need to update your Docker setup when upgrading from version 6 to version 7 with FrankenPHP. Please refer to our [upgrade documentation](https://lycheeorg.github.io/docs/upgrade.html) for detailed instructions.
3331

32+
Do note that this change also has consequences in the way Lychee reads your `.env`
33+
file. Updating values in the `.env` file will now require a container restart to take effect.
34+
3435
#### Performance Revolution
3536

3637
In addition to changing the PHP engine, we've implemented several key performance optimizations:

0 commit comments

Comments
 (0)