GithubHelp home page GithubHelp logo

tob1as / docker-php Goto Github PK

View Code? Open in Web Editor NEW
11.0 3.0 1.0 125 KB

PHP (with Apache2 or FPM or NGINX) - Docker Image for amd64, arm64, arm (Raspberry Pi)

Home Page: https://hub.docker.com/r/tobi312/php/

License: MIT License

Shell 38.60% Dockerfile 61.40%
php php-fpm docker apache2 httpd webserver php8 fpm nginx supervisord alpine debian x86-64 arm dockerfile nginx-php-fpm php8-1 php81

docker-php's People

Contributors

tob1as avatar tobiash87 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

as00sa

docker-php's Issues

Feature request: ability to add a custom Apache docroot

Working with the 8.2-apache image - is there a way to specify a docroot in the apache config that is different than /var/www/html ? Using Symfony, the docroot is in a public sub directory, rather than at the same level as the mounted files; something like:

...
- APACHE_SERVER_NAME=my-site.local
- APACHE_SERVER_ALIAS=*.my-site.local
- APACHE_SERVER_DOCROOT=/var/www/html/public

wrong permissions in tmp

Hello,
I was using the tobi312/php:8.0-fpm-nginx-alpine image and I have found this problem [crit] 15#15: *4 open() "/var/lib/nginx/tmp/client_body/0000000001" failed (13: Permission denied), , my solution has been this chgrp -R nginx /var/lib/nginx, it also works with this chmod -R 755 /var/lib/nginx

sed Error when binding local nginx conf file

Hi,
When i'm binding a local nginx conf as default (in docker-compose.yaml):
- ./nginx_default.conf:/etc/nginx/conf.d/default.conf:ro

I get this error
sed: can't move '/etc/nginx/http.d/default.confnFPnpp' to '/etc/nginx/http.d/default.conf': Resource busy

i suppose there's something happening with the default.conf right in the moment entrypoint tries to inject things into the config files.
image

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.