nanoninja / php-fpm Goto Github PK
View Code? Open in Web Editor NEWDocker container to install and run PHP-FPM
Docker container to install and run PHP-FPM
RUN apt-get update
&& apt-get install -y zlib1g-dev libicu-dev g++
&& docker-php-ext-configure intl
&& docker-php-ext-install intl
What is the secret magic required to update my version of PHP.
I did the following:
docker pull nanoninja/php-fpm:7.3.10
updated my docker-compose.yml to use 7.3.10, stopped docker and did up -d.
php -v always shows the old previous version.
Thanks.
During running 'docker-compose build fpm' me and my team are getting following error:
W: Failed to fetch http://deb.debian.org/debian/dists/jessie-updates/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
ERROR: Service 'fpm' failed to build: The command '/bin/sh -c apt-get update' returned a non-zero code: 100
If we trying to get that URL we are getting code from the image:
can you update your 7.2 image?
need to update certs
regards
Looks like there is never will docker image for php8
Great work here,
Just wanted to mention, could be wrong here, but libsodium is not installed.
When working with Symfony and security (sodium encryption) I receive the following:
Libsodium is not available. Install the sodium extension or use "auto" instead.
Would be nice if there is support for memcached
:
for php5.6, use https://pecl.php.net/package/memcached/2.2.0
7.1, 7.2 use https://pecl.php.net/package/memcached/3.1.3
Hi,
I found I was unable to use the mcrypt while using the php7.1.14 container, I got a " function mcrypt_decrypt was not found" error.
This is fixed by adding docker-php-ext-install -j$(nproc) mcrypt to the Dockerfile.
Example working Dockerfile:
FROM nanoninja/php-fpm:7.1.14
RUN docker-php-ext-install -j$(nproc) mcrypt
I can open a PR if that'd be preferred
regards,
Matt
I met the following problems when I was trying composer install for my new project, it says:
Your requirements could not be resolved to an installable set of packages.
Problem 1 - The requested PHP extension ext-exif * is missing from your system. Install or enable PHP's exif extension.
Problem 2 - The requested PHP extension ext-gd * is missing from your system. Install or enable PHP's gd extension.
Would you please provide some suggestions?
I have this
php:
image: nanoninja/php-fpm
restart: always
volumes:
- "./etc/php/php.ini:/usr/local/etc/php/conf.d/php.ini"
- "./:/var/www/html"
But this gets the latest branch PHP version, I need to inform the "Supported branches", can i do this?
use a variable to change the port
Would be useful to have that, maybe not enabled by default but make it easy to do so?
Found docker-library/php#244 with instructions on what someone had to do to get that working.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.