Closed elomonaco closed 2 months ago
memecached isn't supported by Static PHP CLI on Linux: https://static-php.dev/en/guide/extensions.html
Switching from the static build to the Docker image (or compiling manually FrankenPHP) will allow you to use this extension: https://laravel.com/docs/11.x/octane#frankenphp-via-docker
I just was going to post that swapping out the initial image I was using to dunglas/frankenphp:1.2-php8.3-bookworm
resolved my issue.
Thanks for the quick response.
What happened?
I'm trying out frankenphp with laravel octane and it's not detecting the memcached module. I did a php -m on the docker image the app is running on and the module is there, but laravel octane is not able to find it. If I change the cache provider to be array the applications loads.
I'm just posting it here to see if anyone else ran into this or see if maybe I'm missing an important step.
I did apply the php workaround for the composer scripts.
I'm using a Mac with apple silicon if that makes a difference at all.
Build Type
Standalone binary
Worker Mode
Yes
Operating System
macOS
CPU Architecture
Apple Silicon
PHP configuration
Relevant log output