How To Install PHP 8.1 on Ubuntu 22.04|20.04|18.04
Step 1: Update Ubuntu System Let’s begin our installation of PHP 8.1 on Ubuntu 22.04|20.04|18.04 by ensuring the system has been updated and upgraded. sudo apt update && sudo apt…
Step 1: Update Ubuntu System Let’s begin our installation of PHP 8.1 on Ubuntu 22.04|20.04|18.04 by ensuring the system has been updated and upgraded. sudo apt update && sudo apt…
Create a Dockerfile at the root of the project: FROM php:8.1-fpm-alpine RUN apk add --no-cache nginx wget RUN mkdir -p /run/nginx COPY docker/nginx.conf /etc/nginx/nginx.conf RUN mkdir -p /app COPY .…