Sign inSign up

webhippie/php-apache

By webhippie

•Updated 23 days ago

Docker images for Apache PHP

Image
5

50K+

webhippie/php-apache repository overview

⁠php-apache

Docker Build GitHub Repo

These are docker images for PHP⁠ running on our Apache image⁠.

⁠Versions

For the available versions please look at Docker Hub⁠ or Quay⁠ or check the existing folders within the GitHub repository⁠.

⁠Volumes

  • /srv/www
  • /etc/php8/custom.d

⁠Ports

  • 8080

⁠Available environment variables

GITHUB_TOKEN =
PHP_ALLOW_URL_FOPEN = On
PHP_ALLOW_URL_INCLUDE = Off
PHP_COMPOSER_INSTALL = true
PHP_COMPOSER_ROOT = ${APACHE_WEBROOT}
PHP_DATE_TIMEZONE = UTC
PHP_DISPLAY_ERRORS = On
PHP_DISPLAY_STARTUP_ERRORS = On
PHP_ENABLE_DL = Off
PHP_ERROR_LOG = /proc/self/fd/2
PHP_ERROR_REPORTING = E_ALL & ~E_DEPRECATED & ~E_STRICT
PHP_EXPOSE_HEADER = On
PHP_HTML_ERRORS = On
PHP_IGNORE_REPEATED_ERRORS = Off
PHP_IGNORE_REPEATED_SOURCE = Off
PHP_LOG_ERRORS = On
PHP_LOG_ERRORS_MAX_LEN = 1024
PHP_MAX_EXECUTION_TIME = 3600
PHP_MAX_FILE_UPLOADS = 20
PHP_MAX_INPUT_TIME = 3600
PHP_MEMORY_LIMIT = 1G
PHP_OUTPUT_BUFFERING = 4096
PHP_POST_MAX_SIZE = 2G
PHP_REPORT_MEMLEAKS = On
PHP_SKIP_TEMPLATES = false
PHP_TRACK_ERRORS = Off
PHP_UPLOAD_MAX_FILESIZE = 2G

⁠Inherited environment variables

⁠Contributing

Generally we are following conventional commits⁠ when we apply changes. That way we are able to generate proper changelogs for every release. Please use always pull requests to integrate new functionalities or to fix issues.

For the release process we are following semantic versioning⁠ which clearly indicates if a new version just resolves bugs, includes new features or even includes breaking changes.

After installing the tools via mise install as described above set up the pre-commit hooks so they run automatically on every commit:

prek install --hook-type pre-commit --hook-type commit-msg

prek is managed by mise and will be available after mise install.

If you have changed something on the source you should simply commit following the mentioned conventions:

git checkout -b feat/new-feature
git add --all
git commit -m 'feat: added awesome new feature'
git push --set-upstream origin feat/new-feature

After pushing your changes into the Git repository you should create a pull request on GitHub. If the pull request have been merged and everything built fine it will also create automatically a new release at least once a week.

⁠Authors

⁠License

MIT

Copyright (c) 2015 Thomas Boerger <http://www.webhippie.de>

Tag summary

Content type

Image

Digest

sha256:b97285b16…

Size

78.6 MB

Last updated

23 days ago

docker pull webhippie/php-apache