Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 9 additions & 10 deletions docs/known-issues.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,21 +9,20 @@ description: Reference of FrankenPHP limitations, including unsupported PHP exte

The following extensions are known not to be compatible with FrankenPHP:

| Name | Reason | Alternatives |
| ----------------------------------------------------------------------------------------------------------- | --------------- |---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [imap](https://www.php.net/manual/imap.installation.php) | Not thread-safe | [javanile/php-imap2](https://github.com/javanile/php-imap2), [webklex/php-imap](https://github.com/Webklex/php-imap), [ImapEngine](https://github.com/DirectoryTree/ImapEngine) |
| [newrelic](https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/introduction-new-relic-php/) | Not thread-safe | - |
| [pcov](https://github.com/krakjoe/pcov) | Not thread-safe ([SIGSEGV in classic mode](https://github.com/krakjoe/pcov/issues/132)) | Collect coverage with the CLI SAPI (run PHPUnit/Pest outside FrankenPHP) |
| Name | Reason | Alternatives |
| -------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [imap](https://www.php.net/manual/imap.installation.php) | Not thread-safe | [javanile/php-imap2](https://github.com/javanile/php-imap2), [webklex/php-imap](https://github.com/Webklex/php-imap), [ImapEngine](https://github.com/DirectoryTree/ImapEngine) |
| [pcov](https://github.com/krakjoe/pcov) | Not thread-safe ([SIGSEGV in classic mode](https://github.com/krakjoe/pcov/issues/132)) | Collect coverage with the CLI SAPI (run PHPUnit/Pest outside FrankenPHP) |

## Buggy PHP extensions

The following extensions have known bugs and unexpected behaviors when used with FrankenPHP:

| Name | Problem |
|---------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| [datadog](https://github.com/DataDog) | Experiences instability when profiling FrankenPHP. This bug is [being tracked by DataDog](https://github.com/DataDog/dd-trace-php/issues/3729). |
| [blackfire](https://blackfire.io/) | [FrankenPHP support is in beta and not yet feature-complete](https://docs.blackfire.io/php/integrations/frankenphp). |
| [imagick](https://github.com/Imagick/imagick) | ImageMagick's OpenMP threads conflict with FrankenPHP's threads, causing instability and crashes. Mitigate by disabling ImageMagick threading via `\Imagick::setResourceLimit(\Imagick::RESOURCETYPE_THREAD, 1)` or by compiling ImageMagick with `--disable-openmp`. OpenMP is already disabled in the static binaries and the official `apt`/`apk`/`rpm` packages, so only the Docker images and Homebrew installations are affected. |
| Name | Problem |
| --------------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [blackfire](https://docs.blackfire.io/php/integrations/frankenphp#support) | Worker file watching (`watch`) and hot reload (`hot_reload`) are unsupported. |
| [imagick](https://github.com/Imagick/imagick) | ImageMagick's OpenMP threads conflict with FrankenPHP's threads, causing instability and crashes. Mitigate by disabling ImageMagick threading via `\Imagick::setResourceLimit(\Imagick::RESOURCETYPE_THREAD, 1)` or by compiling ImageMagick with `--disable-openmp`. OpenMP is already disabled in the static binaries and the official `apt`/`apk`/`rpm` packages, so only the Docker images and Homebrew installations are affected. |
| [newrelic](https://docs.newrelic.com/docs/apm/agents/php-agent/getting-started/php-agent-compatibility-requirements/) | Requires the FrankenPHP beta version. The [FrankenPHP beta](https://github.com/newrelic/newrelic-php-agent/tree/frankenphp-beta-1) supports ZTS in classic and worker modes. [Request beta access](https://github.com/newrelic/newrelic-php-agent/issues/864#issuecomment-4906998302). |

## Exceeding the PHP hard memory limit stops the whole server

Expand Down