Skip to content

owncloud-docker/php

Repository files navigation

ownCloud: PHP

Build Status Docker Hub GitHub contributors Source: GitHub License: MIT ownCloud OSPO

ownCloud Docker PHP and webserver base image.

Quick reference

Docker Tags and respective Dockerfile links

  • 24.04 available as owncloud/php:24.04
  • 22.04 available as owncloud/php:22.04

Default volumes

None

Exposed ports

  • 8080

Environment variables

HOME /var/www/html
LANG C
APACHE_RUN_USER www-data
APACHE_RUN_GROUP www-data
APACHE_RUN_DIR /var/run/apache2
APACHE_PID_FILE ${APACHE_RUN_DIR}/apache2.pid
APACHE_LOCK_DIR /var/lock/apache2
APACHE_ERROR_LOG /dev/stderr
APACHE_ACCESS_LOG /dev/stdout
APACHE_LOG_FORMAT combined
APACHE_LOG_LEVEL warn
APACHE_DOCUMENT_ROOT /var/www/html
APACHE_SERVER_NAME localhost
APACHE_SERVER_ADMIN webmaster@localhost
APACHE_SERVER_TOKENS Prod
APACHE_SERVER_SIGNATURE Off
APACHE_TRACE_ENABLE Off
APACHE_TIMEOUT 300
APACHE_KEEP_ALIVE On
APACHE_MAX_KEEP_ALIVE_REQUESTS 100
APACHE_KEEP_ALIVE_TIMEOUT 5
APACHE_ADD_DEFAULT_CHARSET UTF-8
APACHE_HOSTNAME_LOOKUPS Off
APACHE_ACCESS_FILE_NAME .htaccess
APACHE_LISTEN 8080

Community & Support

See SUPPORT.md for the full list of support channels.

Contributing

We welcome contributions! Please read the Contributing Guidelines and our Code of Conduct before getting started.

  • Rebase Early, Rebase Often! We use a rebase workflow — rebase on the target branch before submitting a PR.
  • Signed commits: All commits must be PGP/GPG signed and carry a DCO Signed-off-by line (git commit -S -s).
  • Conventional Commits: PR titles must follow the Conventional Commits format — enforced by CI.
  • GitHub Actions Policy: Workflows may only use actions owned by owncloud, created by GitHub (actions/*), or verified in the GitHub Marketplace, pinned to a full commit SHA.

Security

Do not open a public GitHub issue for security vulnerabilities.

Report vulnerabilities at https://security.owncloud.com — see SECURITY.md.

Bug bounty: YesWeHack ownCloud Program

About the ownCloud OSPO

The Kiteworks Open Source Program Office, operating under the ownCloud brand, launched on May 5, 2026, to steward the open source ecosystem around ownCloud's products. The OSPO ensures transparent governance, license compliance, community health, and sustainable collaboration between the open source community and Kiteworks, which acquired ownCloud in 2023.

For questions about the OSPO or licensing, contact ospo@kiteworks.com.

This repository is licensed under the permissive MIT License, which is already compatible with the Apache License 2.0 that the OSPO is adopting across the ecosystem. No relicensing or copyleft dependency audit is required.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Copyright

Copyright (c) 2022 ownCloud GmbH

About

Base image for a general PHP stack

Topics

Resources

License

Code of conduct

Contributing

Security policy

Stars

5 stars

Watchers

2 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages