Php running under apache, with most common php extensions and CLI tools. No local DB.
3.4K
php-apache-ready is a set of docker images that include the php 7.x.y-apache and php 8.x.y-apache base images, along with the most common php extensions, as well as some CLI Tools to help during the development/debugging process.
There is no local DB on this image, as it is assumed either a local DB would be already installed on the local host, or usage of distant database is required.
The purpose of this image is mainly to help rapid local development, it is not targeting a live deployment. It is supporting the development of aoWare's sites:
composer
curl
nano
imagemagick
node
npm
7 - The root of the web folder is set to /var/www/html
8 - The root of the web folder is set to /var/www/html/public
Use the following command to start your container:
docker run -d --name bac-php74 -p 80:80 -v C:\htdocs\bac:/var/www/html aoware/php-apache-ready:tag
| Option | Description |
|---|---|
-d | Run the container in detached mode (in the background) |
--name bac-php74 | Assign a custom name to the container for easy reference |
-p 80:80 | Map host port 80 to container port 80 (access via http://localhost) |
-v C:\htdocs\bac:/var/www/html | Mount your local folder C:\htdocs\bac to /var/www/html inside the container |
aoware/php-apache-ready | The name of the Docker image to run |
tag | The tag associated with the Docker image to run which is dictating the php version to use |
Content type
Image
Digest
sha256:c62aced71…
Size
386.5 MB
Last updated
15 days ago
docker pull aoware/php-apache-ready:8.5.10