In this video, I go through the steps of setting up the Apache web server software on the Raspberry Pi.
Tutorial: https://pimylifeup.com/raspberry-pi-a...
Apache on the Pi is a great way to have your very own self-hosted development server. It handles HTTP and HTTPS and has plenty of modules to extend its functionality, such as PHP.
I used the following pieces of equipment in this tutorial. We may earn an affiliate commission if you buy through our Amazon links.
Raspberry Pi: https://amzn.to/3WUT8Ij
Micro SD Card: https://amzn.to/3US0ZUz
Ethernet Cable: https://amzn.to/3K8BcT7
We made use of the Raspberry Pi 5 running Raspberry Pi OS Bookworm. The same steps should work on older versions of the OS and hardware. However, you may need to change some commands, such as the PHP version.
The tutorial will take you through some of the basics of Apache, such as installing the required software, file permissions, installing PHP, and creating a basic virtual host file.
If you are interested in more web development, I highly recommend that you take a look at other software as well, such as MYSQL, PHPMyAdmin, WordPress, Drupal, Nextcloud, and much more.