To install PHP 8.0 on AlmaLinux 10, follow the steps below to enable the Remi repository, install PHP core packages, and add commonly used extensions.
Step 1 : Update all system packages:

Step 2 :Install the Remi repository for Enterprise Linux 10:

Step 3 : List available PHP module streams:

Step 4 : Reset the default PHP module and enable PHP 8.0:

Step 5 : Install PHP 8.0 core components:

Step 6 : Install commonly used PHP extensions:
Explanation of Common PHP Extensions:
- mysqlnd – Native MySQL driver for PHP
- curl – Enables HTTP and API requests
- gd – Image processing and manipulation
- mcrypt – Encryption support (legacy/optional)
- json – JSON data handling
- pear – PHP Extension and Application Repository
- common – Core PHP files and dependencies
- xml – XML parsing and handling
- zip – ZIP archive management
- devel – PHP development headers
- xsl – XSLT transformations
- soap – SOAP protocol support
- bcmath – Arbitrary precision mathematics
- mbstring – Multibyte string handling
- gettext – Localization and translation
- imagick – Advanced image processing using ImageMagick

Step 7 : Verify PHP Installation
Check the installed PHP version:

Congratulations! You have successfully installed PHP 8.0 on AlmaLinux 10 with essential extensions, and your system is now ready for PHP application deployment and development.