Add FrankenPHP to SAPI credits#9777
Conversation
|
Frankenphp was not added to php-src: The credits files are for code distributed with source code. |
|
@krakjoe is there any other way to detect which SAPI's are supported by php opcache instance. I was trying to use |
|
@alexander-schranz I defer to @dunglas for an answer to the question of how to detect if you are currently executing inside a frankenphp instance. The change that was made to opcache was only to add frankenphp to the whitelist of SAPI's that are supported by opcache, allowing opcache to operate in a frankenphp instance. It should probably be noted that no internal testing was done by the php team; We assume that the author of the SAPI done that testing before making the PR to add support. I hope that makes things clearer. |
|
To check if FrankenPHP is used, you can just verify that the value of the If using our official build, the To check if opcache is enabled, do as usual by inspecting the value of |

FrankenPHP was added here but is not listed in when running:
php -r 'echo phpinfo();'in the SAPI credits section./cc @dunglas