How to enable and disable php extensions in docker?

#1
I am using LiteSpeed in docker from the image litespeedtech/litespeed. The command docker-php-ext-enable is not available in the Dockerfile.

Changing the php.ini extensions does not work either.

I would like to disable enchant and enable shmop.

How can I enable and disable php extensions in the Dockerfile?
 
Last edited:
Top