Commit Graph

74 Commits

Author SHA1 Message Date
Kévin Dunglas
3d9f344a50 docs: Docker image updates and tags 2024-01-30 22:07:33 +01:00
Kévin Dunglas
175b9a0296 feat: add Brotli compression support (#524) 2024-01-30 18:33:59 +01:00
Kévin Dunglas
be08c1e717 docs: run as non-root in Docker containers 2024-01-29 14:40:56 +01:00
Leo Cavalcante
f35e276ee6 docs: fix worker mode Docker example (#516) 2024-01-29 14:06:27 +01:00
Kévin Dunglas
3bdd6fd072 docs: improved rendering of Laravel Octane options (#479) 2024-01-20 13:31:32 +01:00
Eduardo Rocha
183451a13f Add note about musl libc (#485)
* Add note about musl libc

* Update known-issues.md

* Update known-issues.md

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2024-01-20 13:29:40 +01:00
Jochen
2ef7762068 docs: PHP configuration guide (#486)
* docs: php configuration guide

* Update config.md

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2024-01-20 13:19:45 +01:00
Kévin Dunglas
b624a13430 docs: improve HTTPS documentation (#480) 2024-01-20 11:49:16 +01:00
Kévin Dunglas
00b1d0e4b6 docs: add production deployment guide (#471)
* docs: update README and add guide for deploying FrankenPHP on Digital Ocean

* Update docs/deploy-frankenphp-digital-ocean.md

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

* Update docs/deploy-frankenphp-digital-ocean.md

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>

* rewrite

* add images

* linter

* missing dot

---------

Co-authored-by: Trusted97 <benux9700@gmail.com>
Co-authored-by: Gianluca <37697178+Trusted97@users.noreply.github.com>
2024-01-12 16:53:50 +01:00
Mr Alexandre J-S William ELISÉ
f19c153d06 docs: update worker.md to prevent infinite loop (#455)
* Update worker.md to prevent infinite loop

Quick fix typo `<=` rather than `>=` which prevents infinite loop and get out of the loop when MAX_REQUESTS is reached.

* Update worker.md to fix impossible evaluation

Fix impossible case where if MAX_REQUESTS is not defined the rest of the condition is not evaluated as it is an && operator as mentioned by https://github.com/dunglas/frankenphp/discussions/453#discussioncomment-7981535

* Update worker.md change to for loop and remove handler from the loop

Change to for loop and remove handler from the loop based on the feedback https://github.com/dunglas/frankenphp/pull/455#discussion_r1438918811
2024-01-08 08:17:08 +01:00
thecaliskan
f6873efee4 Added Laravel Octane Documentation (#422)
* Added Laravel Octane Documentation

* fixed lint

---------

Co-authored-by: Emre Çalışkan <emre.caliskan@beyn.com.tr>
2023-12-20 18:07:24 +01:00
Davy Goossens
b6e2277863 feat: introduce debug symbols flag for static build (#397)
* Introduce debug symbols flag

* Add DEBUG_SYMBOLS customization to the docs
2023-12-17 10:33:37 +01:00
Dave Heineman
9410418c5c docs: use the correct link to the docker tags 2023-12-15 12:30:25 +01:00
Kévin Dunglas
1da3dbc93a docs: xcaddy build flags (#385) 2023-12-14 22:45:09 +01:00
Kévin Dunglas
e3e2ab3612 ci: add missing Go package on Mac (#381) 2023-12-13 22:34:37 +01:00
Jesse Donat
6ba945091b Removes accidental RUN 2023-12-13 00:15:55 +01:00
Peter Fox
d93bfc0cb9 docs: enable symlinks following for Laravel app (#350)
Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2023-12-08 23:47:19 +01:00
Francis Lavoie
b9eae571e5 docs: Caddyfile config adjustments (#345) 2023-12-08 19:09:20 +01:00
Kévin Dunglas
72d983ec5e docs: better embed docs 2023-12-08 15:53:37 +01:00
Kévin Dunglas
5235cb9ae1 docs: embed 2023-12-06 23:30:50 +01:00
Kévin Dunglas
e3361c2b3f feat(caddy): allow to start workers using the php-server built-in command (#339) 2023-12-06 18:18:16 +01:00
Kévin Dunglas
6509cddd2a feat: embed PHP apps into the FrankenPHP binary 2023-12-02 15:40:51 +01:00
Kévin Dunglas
c9bf9940d1 ci: add Super-Linter (#323) 2023-12-01 17:26:21 +01:00
Kévin Dunglas
de5de146c3 ci: add generic static build script (#322) 2023-11-30 08:07:39 +01:00
Kévin Dunglas
c884d26799 docs: don't stop the worker script even if a connection with a client is aborted 2023-11-22 19:14:51 +01:00
Kévin Dunglas
b4aa8038ff feat: detect when worker crashes or terminates normally (#315) 2023-11-21 23:15:07 +01:00
Kévin Dunglas
b56b47d187 ci: improve static build steps (#305) 2023-11-16 14:06:34 +01:00
Kévin Dunglas
9d56f2530a docs: add custom Caddy modules 2023-11-07 10:48:37 +01:00
Irvin Capagcuan
bb1ed8b212 Update docker.md
Fixed typo.
2023-11-06 22:39:03 +01:00
DubbleClick
ea2c7c2895 feat: add ext-ldap and ext-sysvsem to static builder, add PHP_EXTENSION_LIBS to enhance extensions (#203)
* add ldap and sysvsem extension to static-builder

* add lib support for static-builder to enhance enabled extensions (such as libjpeg for gd)

* disable opcache-jit

* include bz2, order alphabetically

* Update static.md

---------

Co-authored-by: Kévin Dunglas <kevin@dunglas.fr>
2023-11-01 15:50:19 +01:00
Jacob Dreesen
8475ad9bc8 docs: fix some more typos (#285)
* Fix some typos in the docs

* Fix some more typos
2023-10-31 03:42:39 +01:00
Jacob Dreesen
35d4075c50 Fix typo in the docs 2023-10-31 01:17:41 +01:00
Kévin Dunglas
c1b8c5df5f docs: improve workers docs (#281)
* docs: improve workers docs

* improvements
2023-10-30 22:16:09 +01:00
Antoine Lamirault
43722a9dbe docs: update static-php URLs (#277) 2023-10-28 14:17:18 +02:00
Kévin Dunglas
e13e394700 feat: minor improvements to the default Caddyfile 2023-10-26 08:45:52 +02:00
Mathieu De Zutter
6874e44ddd doc: get_browser performance 2023-10-23 23:33:34 +02:00
Ruud Kamphuis
669a0175f3 Fix highlighting in config docs 2023-10-09 10:37:40 +02:00
DubbleClick
b4780b6495 docs: config for multiple workers (#240) 2023-10-05 11:45:38 +02:00
Kévin Dunglas
b04326ee83 chore: better env vars in default Caddyfile (#237) 2023-10-03 18:02:03 +02:00
Kévin Dunglas
5874072d46 docs: Laravel example (#231) 2023-10-03 17:32:17 +02:00
Kévin Dunglas
7d41aa5243 docs: ext-imap isn't supported 2023-10-03 16:13:52 +02:00
Kévin Dunglas
2d91a606fd feat(caddy): php_server simplified directive (#235)
* feat(caddy): php_server simplified directive

* fix typo

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>

* fix

* cleanup

* Update config.md

Co-authored-by: Francis Lavoie <lavofr@gmail.com>

* feat: automatically serve static files

* file_server off

* fix tests

* fix config

* fix tests in Docker

* debug

* fix

---------

Co-authored-by: Matt Holt <mholt@users.noreply.github.com>
Co-authored-by: Francis Lavoie <lavofr@gmail.com>
2023-10-03 15:44:55 +02:00
Kévin Dunglas
69416cc0d6 test: prove that Fibers work if not calling Go 2023-09-28 19:04:57 +02:00
Sergey Kamenskiy
f8e7b161b5 docs: explain php.ini configuration in docker 2023-09-25 21:32:44 +02:00
Oyebanji Jacob Mayowa
3f9cda365f fix typo in config.md (#221) 2023-09-23 20:09:12 +02:00
Kévin Dunglas
123d167729 ci: release infrastructure (#213)
* ci: release infrastructure

* ci: release CircleCI binary

* fix circle

* fix Circle pipeline

* improve tags and docs

* improvements
2023-09-20 14:15:41 +02:00
Kévin Dunglas
b07808412c docs: explain how to populate super globals with env vars 2023-09-16 13:29:53 +02:00
Kévin Dunglas
fb63099a88 feat: allow passing env vars to workers (#210) 2023-09-15 12:59:43 +02:00
Kévin Dunglas
1f3007337d feat: create a static build of FrankenPHP (#198)
* ci: create a static build of FrankenPHP

* try to use alpine

* path mapping

* cache and fixes

* fix

* fix include path

* fix include path

* fix include path

* switch to Docker

* fix github token

* cleanup

* various improvements

* macOS instructions

* fix GHA

* docs

* feat: mac static builds

* minor fix

* fix wd

* Apple silicon build

* Revert "Apple silicon build"

This reverts commit 7a2997e092.

* add opcache

* update builder

* upgrade to PHP 8.2

* switch to upstream static-php-cli, add intl
2023-09-12 22:08:19 +02:00
Kévin Dunglas
a6603b58cc feat: improve default config 2023-09-12 16:13:52 +02:00