GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - fbraz3/php-apache2-docker

BranchesTags
Open more actions menu

Latest commit

 

History

16 Commits
16 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
assets
assets
 
 
flavors
flavors
 
 
.gitignore
.gitignore
 
 
AGENTS.md
AGENTS.md
 
 
CODE_OF_CONDUCT.md
CODE_OF_CONDUCT.md
 
 
CONTRIBUTING.md
CONTRIBUTING.md
 
 
LICENSE
LICENSE
 
 
README.md
README.md
 
 
docker-test.php
docker-test.php
 
 

Repository files navigation

Braz PHP-Apache Docker

This project provides optimized Docker images to run PHP applications with the Apache2 web server.

It is based on php-fpm-docker and php-base-docker, supporting multiple PHP versions and architectures.

We also provide an AI generated DeepWiki Page with more technical information.

💡 For a complete list of available images, please visit the PHP System Docs page.

Table of Contents

  • Braz PHP-Apache Docker
    • Build Status
    • Tags
    • Flavors
    • How to Use
    • Testing the Image
    • Manage PHP Directives via Environment Variables
    • Cronjobs
    • Sending Mails
    • Contribution
    • Donation
    • License

Build Status

Build Base Images Build Phalcon Images

Tags

Each image is tagged with the PHP version. For example:

  • fbraz3/php-apache2:8.4 for PHP 8.4
  • fbraz3/php-apache2:8.4-phalcon for PHP 8.4 with Phalcon extension

Multi-architecture images (amd64 and arm64) are also available.

Flavors

This project supports different flavors to meet specific needs:

  • Vanilla: Standard image with PHP and Nginx.
  • Phalcon: Includes support for the Phalcon framework.

How to Use

To run a PHP application with Nginx, use the following command:

docker run --name my-app -v $(pwd):/app/public -p 80:80 -d fbraz3/php-apache2:8.4

Replace 8.4 with the desired PHP version.

Testing the Image

You can test the image with the following command:

curl http://127.0.0.1/

Ensure the current directory contains an index.php or index.html file.

Manage PHP Directives via Environment Variables

Refer to the php-fpm-docker documentation to learn how to manage PHP directives using environment variables.

Cronjobs

To configure cronjobs, see the corresponding section in the php-fpm-docker documentation.

Sending Mails

To configure email sending, refer to the php-base-docker documentation.

Contribution

Contributions are welcome! Feel free to open issues or submit pull requests to improve the project.

Please visit the CONTRIBUTING.md file for guidelines on how to contribute to this project.

Useful links

  • How to create a pull request
  • How to report an issue

Donation

I spend a lot of time and effort maintaining this project. If you find it useful, consider supporting me with a donation:

  • GitHub Sponsor
  • Patreon

License

This project is licensed under the Apache License 2.0, so you can use it for personal and commercial projects. However, please note that the images are provided "as is" without any warranty or guarantee of any kind. Use them at your own risk.

About

No description, website, or topics provided.

Resources

Readme
Apache-2.0 license

Contributing

Contributing
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.