在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
本文转自:https://docs.docker.com/samples/library/php/ Dockerfile in your PHP project
Then, run the commands to build and run the Docker image:
How to install more PHP extensionsMany extensions are already compiled into the image, so it’s worth checking the output of We provide the helper scripts In order to keep the images smaller, PHP’s source is kept in a compressed tar file. To facilitate linking of PHP’s source with any extension, we also provide the helper script
PHP Core ExtensionsFor example, if you want to have a PHP-FPM image with
Remember, you must install dependencies for your extensions manually. If an extension needs custom See “Dockerizing Compiled Software” for a description of the technique Tianon uses for determining the necessary build-time dependencies for any bit of software (which applies directly to compiling PHP extensions).
|
2022-08-15
2022-08-17
2022-11-06
2022-08-17
2022-07-22
请发表评论