Docker环境下如何启用扩展

来源:https://stackoverflow.com/questions/1361925/how-to-enable-socket-in-php

执行:

docker-php-ext-install 扩展

docker-php-ext-configure: This command allows you to provide the custom arguments for an extension.
docker-php-ext-install: Use this command to install new extensions in your container.
docker-php-ext-enable: This command can be used to enable PHP extensions.

posted @ 2023-03-31 01:17  _迷途  阅读(28)  评论(0编辑  收藏  举报