
"Ubuntu 20.04.1 LTS Server 64bit for Raspberry pi 4" image installing.
https://ubuntu.com/download/raspberry-pi
Install Ubuntu on a Raspberry Pi 2, 3 or 4 | Ubuntu
Ubuntu is an open-source operating system for cross platform development, there’s no better place to get started than with Ubuntu on a Raspberry Pi.
ubuntu.com
SDcard is written download image with Win32DiskImager (use Windows 10).
Win32 Disk Imager
Download Win32 Disk Imager for free. A Windows tool for writing images to USB sticks or SD/CF cards . This program is designed to write a raw disk image to a removable device or backup a removable device to a raw image file. It is very useful for embedded
sourceforge.net
Apache Install
Command insert Terminal.
sudo apt-get update
sudo apt-get install apache2
Installing Version check.
apache2 -v

Php Install
Command insert Terminal.
sudo apt-get install php7.4
Installing Version check.
php -v

Mysql install
Command insert Terminal.
sudo apt-get install mysql-server
Installing version check.
sudo mysqladmin version
Secure Installation setting
sudo /usr/bin/mysql_secure_installation
all y, password secure set 0(low)~2(strong), password setting