As a part of one of my project, the ultimate Weather site ? Weather34, I needed a WEB-host with PHP.
I started up with a fresh Raspberry OS Lite SD Card with Samba installed.
Log on, with ssh/terminal to the RaspberryPi(RPi), in this case hostname "pws01", and update the OS with
sudo apt full-upgrade -y
sudo apt clean
sudo apt install apache2