ubuntu24.04 / apache2 / php7.4
926
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'
Content type
Image
Digest
sha256:29d3d946d…
Size
156 MB
Last updated
over 2 years ago
docker pull hbkkongs/ubuntu-apache-php74