TrafeX / docker-php-nginx

Docker image with PHP-FPM 8.3 & Nginx 1.26 on Alpine Linux
https://hub.docker.com/r/trafex/php-nginx
MIT License
1.37k stars 736 forks source link

PHP Fatal error: Uncaught Error: Call to undefined function token_get_all() #121

Closed javacom closed 1 year ago

javacom commented 1 year ago

I try to use your image but it failed with undefined function token_get_all(). How can I enable it in the docker image?

TrafeX commented 1 year ago

Hi @javacom,

You need to install the php81-tokenizer package for this extension to work.

TrafeX commented 1 year ago

I'm closing this issue due to inactivity. Let me know if this didn't solve your issue!