Alpine
Alpine
Alpine
apk update
apk upgrade
apk add nano
== instal openSSH
apk add openssh
== instal apache2
apk add apache2
== instal php7.3
apk add php
== install php extention
apk add php7-apache2 php7-common php7-cli apache2-utils php7-fpm php7-json php7-pdo
php7-mysqli php7-zip php7-gd php7-mbstring php7-curl php7-xml php7-bcmath php7-json
== other================================================
apache2, php7, php7-apache2, curl, ca-certificates, git
== restart apache2
rc-service apache2 restart
== enable rewrite_mod
nano /etc/apache2/httpd.conf
remove "#" from line LoadModule rewrite_module/mod_rewrite.so
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
== restart apache2
rc-service apache2 restart