Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

issa-dev's avatar

Laravel octane with frankenphp

I am encountering an issue with Laravel Octane in conjunction with FrankenPHP. While my Laravel application is generally functioning well, I recently installed Imagick and GMP extensions on my Ubuntu 22.04 server using apt install php8.3-extension_name. The installation was successful, confirmed by running php -m, which displayed the newly installed extensions.

However, Laravel Octane continues to raise complaints about these extensions being absent.

Steps to Reproduce:

Installed Imagick and GMP extensions on Ubuntu 22.04 server. Confirmed successful installation via php -m. Created a PHP file to print loaded extensions. Executed the file from the Laravel project root using ./frankenphp php-cli file.php. The output revealed that Imagick and GMP extensions were missing, despite being installed. Expected Behavior:

Laravel Octane should recognize and acknowledge the presence of the installed Imagick and GMP extensions.

Actual Behavior:

Laravel Octane insists that Imagick and GMP extensions are not installed, despite evidence of successful installation.

0 likes
1 reply

Please or to participate in this conversation.