I've got a Pi Zero W V1.1 running Bullseye, and I've been pulling my hair out trying to get PHP 8.1 installed. I was able to get 8.0.1 going, but I have a Laravel 9.x project that requires 8.1.
The sticking point is:
Code: Select all
sudo apt install php8.1
E: Unable to locate package php8.1
E: Couldn't find any package by glob 'php8.1'
Code: Select all
sudo apt install software-properties-common
sudo add-apt-repository ppa:ondrej/php
sudo apt update
Thanks!
Mark