Only for x64! I have installed Ubuntu Was the download location changed? Anyone else experienced this issue? Any updated links to download older php versions properly? Thanks in advanced! On Ubuntu Thank you very much! Your name or email address: Do you already have an account?
If you do not want the latest libmemcache, you can now skip down to adding the correct extension lines to the php5-fpm php. Download the libmemcached source file there may be an updated version on the official page , unpack it and enter the directory.
If you don't need SASL support configure libmemcached with this syntax source. We provide the helper scripts docker-php-ext-configure , docker-php-ext-install , and docker-php-ext-enable to more easily install PHP extensions. 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 docker-php-source to easily extract the tar or delete the extracted source.
Note: if you do use docker-php-source to extract the source, be sure to delete it in the same layer of the docker image. For example, if you want to have a PHP-FPM image with the gd extension, you can inherit the base image that you like, and write your own Dockerfile like this:.
Remember, you must install dependencies for your extensions manually. If an extension needs custom configure arguments, you can use the docker-php-ext-configure script like this example. There is no need to run docker-php-source manually in this case, since that is handled by the configure and install scripts. If you are having difficulty figuring out which Debian or Alpine packages need to be installed before docker-php-ext-install , then have a look at the install-php-extensions project.
For example, to install the GD extension you simply have to run install-php-extensions gd. This tool is contributed by community members and is not included in the images, please refer to their Git repository for installation, usage, and issues. See also "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.
Some extensions are compiled by default. This depends on the PHP version you are using. Run php -m in the container to get a list for your specific version. To install a PECL extension, use pecl install to download and compile it, then use docker-php-ext-enable to enable it:. For the external fpm project, generating. You need at least some version of autoconf to install these build tools.
If you need to use run buildconf, then it will run. Skip to content. Star Git mirror of php-fpm launchpad. View license. Branches Tags. Could not load branches. Could not load tags. Latest commit. Git stats commits.
0コメント