docker-php-fpm | PHP-FPM docker image with composer | Web Framework library
kandi X-RAY | docker-php-fpm Summary
kandi X-RAY | docker-php-fpm Summary
PHP-FPM docker image with composer. Ready for laravel and cakePHP.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of docker-php-fpm
docker-php-fpm Key Features
docker-php-fpm Examples and Code Snippets
Community Discussions
Trending Discussions on docker-php-fpm
QUESTION
Since the update of PHP 7.1 to PHP 7.2 I can't install oci8. I have this error:
root@3ab6027c8d95:/var/www# php -v
PHP Warning: PHP Startup: Unable to load dynamic library 'oci8.so' (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (libmql1.so: cannot open shared object file: No such file or directory), /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so (/usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
PHP 7.2.0 (cli) (built: Dec 12 2017 05:52:58) ( NTS ) Copyright (c) 1997-2017 The PHP Group Zend Engine v3.2.0, Copyright (c) 1998-2017 Zend Technologies with Zend OPcache v7.2.0, Copyright (c) 1999-2017, by Zend Technologies
I'm using Docker environment, I created a github repo for this, it works if I use the version 7.1 of PHP (shenron/docker-php-fpm:7.2).
I don't understand why the script try to launch this file: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so
.
To my point of view there are two possibilities; or the driver is not compatible, or pecl can't today install oci8.
Has anyone the same problem ?
Thank you for your help.
...ANSWER
Answered 2017-Dec-15 at 13:31/usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so.so
is only the second guess on the shared library file name. You can safely ignore that.
The actual problem is: (tried: /usr/local/lib/php/extensions/no-debug-non-zts-20170718/oci8.so (libmql1.so: cannot open shared object file: No such file or directory)
oci8.so
itself depends on multiple shared libraries, you can use ldd
to find out which ones:
QUESTION
I am currently learning Docker for a project and got a configuration to start on my PHP website that I intend to change. The problem is that even when I set up different versions in Dockerfile I get the same PHP version.
This is the output when I do the docker-compose up command. It keeps using the PHP version 7.0.33. That's the version that it shows in the browser as well.
This is my docker-compose.yml file:
...ANSWER
Answered 2020-Jan-20 at 01:11You are using docker-compose up
what that command does is, it's start containers from previously build images(to see images on you local use docker image ls
)
after changing Dockerfile what you need to do is run docker-compose down
and up again with --build flag. docker-compose up --build
Relevant document https://docs.docker.com/compose/reference/up/
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install docker-php-fpm
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page