edboraas / apache-docker Goto Github PK
View Code? Open in Web Editor NEWDockerfiles used to build the images at eboraas/apache, eboraas/apache-php, eboraas/laravel, and eboraas/phalcon on Docker Hub
Dockerfiles used to build the images at eboraas/apache, eboraas/apache-php, eboraas/laravel, and eboraas/phalcon on Docker Hub
Hi, thanks for this image. It's a great job.
I just want to install more php extensions. I wish use the helper script docker-php-ext-install.
In my DockerFile, i'm started from your image and add this lines :
FROM eboraas/apache-php
ADD https://raw.githubusercontent.com/mlocati/docker-php-extension-installer/master/install-php-extensions /usr/local/bin/
RUN chmod uga+x /usr/local/bin/install-php-extensions && sync && \
install-php-extensions gd intl
But it doesn't work, and i don't understand why. I have a error
"/usr/local/bin/install-php-extensions: docker-php-source: not found".
I'm sorry but i don't understand this error and i can't solve it.
When I start the apache-php image, I get the following error:
[Sat Feb 20 11:15:27.044849 2016] [:crit] [pid 7:tid 139860167231360] Apache is running a threaded MPM, but your PHP Module is not compiled to be threadsafe. You need to recompile PHP.
AH00013: Pre-configuration failed
Action '-D FOREGROUND' failed.
The Apache error log may have more information.
After the last update, I have problem with my laravel application, and I found that the problems is occurs because the php-fpm doesn't start automatically.
error.log
[Sat Oct 05 02:03:30.554009 2019] [proxy:error] [pid 17:tid 139733338388224] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php7.3-fpm.sock (*) failed
[Sat Oct 05 02:03:30.554098 2019] [proxy_fcgi:error] [pid 17:tid 139733338388224] [client 172.17.0.1:46024] AH01079: failed to make connection to backend: httpd-UDS, referer: http://localhost/painel
To run my application, it's need to into in the container and start the php-fpm with command bellow:
service php7.3-fpm start
I can't use this contener. I have this message
docker run --name webServer -ti -p 80:80 -v /var/www/:/var/www/ eboraas/apache
AH00526: Syntax error on line 43 of /etc/apache2/mods-enabled/ssl.conf:
SSLSessionCache: 'shmcb' session cache not supported (known names: ). Maybe you need to load the appropriate socache module (mod_socache_shmcb?).
Action '-D FOREGROUND' failed.
The Apache error log may have more information.
hello Ed, i run your images, copy my laravel files in container and then i make image based on container and when im pulling and run it, error like this
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.17.0.2. Set the 'ServerName' directive globally to suppress this message
please correct me if i wrong ..
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.