Sign inSign up

kevineduardo14/helloworldphp

By kevineduardo14

•Updated almost 2 years ago

Hello World made in php

Image
0

134

kevineduardo14/helloworldphp repository overview

⁠helloworldphp

⁠Description

This is a Docker image for a simple PHP project that prints "Hola Mundo" to the browser. The project is built using PHP, and this container is configured to run the PHP script upon startup using Apache.

⁠How to Use

  1. Pull the Image: Download the image from Docker Hub by running:

    docker pull kevineduardo14/helloworldphp
    
  2. Run the Container: Start the container and view the output in your browser by visiting http://localhost:

    docker run -p 80:80 kevineduardo14/helloworldphp
    
  3. Customizing the Run: To run this container in detached mode, you can modify the command as follows:

    docker run -d -p 80:80 kevineduardo14/helloworldphp
    

⁠Environment Variables

This PHP project does not require additional environment variables for basic functionality.

⁠Additional Information

This container runs on PHP 7.4 with Apache and serves the index.php file, which outputs "Hola Mundo" when accessed through a web browser at http://localhost.

Tag summary

Content type

Image

Digest

sha256:d81edc930…

Size

155.7 MB

Last updated

almost 2 years ago

docker pull kevineduardo14/helloworldphp