These instructions should be good for installing on Raspberry Pi OS too.
NOTE – THESE INSTRUCTIONS ARE FOR THE RASPBERRY PI ARM PLATFORM
Some of these commands will be different for Ubuntu running on Intel.
Ensure all packages are updated before you start
sudo apt-get update && sudo apt-get upgrade
Install apache2
sudo apt install apache2 -y
Install PHP
sudo apt install php8.2 libapache2-mod-php8.2 php8.2-mbstring php8.2-mysql php8.2-curl php8.2-gd php8.2-zip -y
Apache 2 config etc
See the ubuntu documentation here.
PHP config etc
See the ubuntu documentation here.
USEFUL?
We benefit hugely from resources on the web so we decided we should try and give back some of our knowledge and resources to the community by opening up many of our company’s internal notes and libraries through mini sites like this. We hope you find the site helpful.
Please feel free to comment if you can add help to this page or point out issues and solutions you have found, but please note that we do not provide support on this site. If you need help with a problem please use one of the many online forums.