Sign inSign up

hbkkongs/ubuntu-apache-php74

By hbkkongs

•Updated over 2 years ago

ubuntu24.04 / apache2 / php7.4

Image
Web servers
0

926

hbkkongs/ubuntu-apache-php74 repository overview

Installed

- apt-get update
- apt-get install -y ntp // Asia/Seoul
- apt-get install -y software-properties-common // use add-apt-repository 
- add-apt-repository ppa:ondrej/php
- apt install -y php7.4 // php
- apt-get install -y vim // tool (vim)

apache config

- create directory (/var/www/site/www)
- change root (/etc/apache2/sites-available)

example

> docker run -it --name {container_name} -p 8080:80 hbkkongs/ubuntu-apache-php74:{tag_name} /bin/bash
> service apache2 start

launch browser after 'localhost:8080'

Tag summary

Content type

Image

Digest

sha256:29d3d946d…

Size

156 MB

Last updated

over 2 years ago

docker pull hbkkongs/ubuntu-apache-php74