From d1d6eea0f188e61e00f50e69339959d0b4dc006c Mon Sep 17 00:00:00 2001 From: oskar1p7p <57598831+oskar1p7p@users.noreply.github.com> Date: Sat, 4 Jan 2025 03:51:00 +0100 Subject: [PATCH] Update PHP to 8.2 or newer Fixes #17 Add instructions for upgrading PHP to version 8.2 or newer in `README.md`. * Add a dropdown section under "Installation" with detailed steps for upgrading PHP to version 8.2 or newer. * Include commands for updating the package list, installing dependencies, adding the PHP repository, and verifying the PHP version. --- For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/Nookure/NookTheme/issues/17?shareId=XXXX-XXXX-XXXX-XXXX). --- README.md | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) diff --git a/README.md b/README.md index ab754630..2ef49bb7 100644 --- a/README.md +++ b/README.md @@ -16,6 +16,44 @@ NookTheme is a free and open source [Pterodactyl theme](https://pterodactyl.io) This will update your panel to the latest version of NookTheme panel is based.
You can see the version in the current branch name. + +
+Upgrade PHP + +Before proceeding with the installation steps, ensure that your PHP version is upgraded to 8.2 or newer. Follow the instructions below to upgrade PHP: + +1. Update your package list: +```bash +sudo apt update +``` + +2. Install the required dependencies: +```bash +sudo apt install -y software-properties-common +``` + +3. Add the PHP repository: +```bash +sudo add-apt-repository ppa:ondrej/php +``` + +4. Update your package list again: +```bash +sudo apt update +``` + +5. Install PHP 8.2: +```bash +sudo apt install -y php8.2 +``` + +6. Verify the PHP version: +```bash +php -v +``` + +
+ ### Enter Maintenance Mode Whenever you are performing an update you should be sure to place your Panel into maintenance mode. This will prevent