uninstall any apache2 and php deb software first.
http://httpd.apache.org/download.cgi
$ gzip -d httpd-NN.tar.gz
tar xvf httpd-NN.tar
cd httpd*
./Configure
make
sudo make install
/usr/local/apache2/bin/apachectl -k start
*There is no systemctl support, must start manually every reboot.
Web files would be in /usr/local/apache2/htdocs
now. It is no longer in /var/www/html
.
Configuration file is now at: /usr/local/apache2/conf/httpd.conf
Date: May 30th 2022