# Apache PHP

[Source files](https://github.com/bfren/docker-apache-php) (GitHub)\
[Container images](https://hub.docker.com/r/bfren/apache-php) (Docker Hub)

## Acknowledgements

Based on the [official PHP image](https://hub.docker.com/_/php) for PHP 5.6.40 with Apache and `mysql` extension installed.

## Ports

| Port | Description                                                                       |
| ---- | --------------------------------------------------------------------------------- |
| `80` | Serves HTTP content (Apache requires permissions for user 1000, e.g. `www-data`). |

## Volumes

| Volume           | Purpose                                                  |
| ---------------- | -------------------------------------------------------- |
| `/var/www/html/` | *From base image: files are served from this directory.* |


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bfren.dev/docker/base-images/apache-php.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
