{"id":17908,"date":"2026-09-03T11:53:34","date_gmt":"2026-09-03T11:53:34","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=17908"},"modified":"2026-09-03T11:53:37","modified_gmt":"2026-09-03T11:53:37","slug":"how-to-install-lamp-stack-on-almalinux-10","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/","title":{"rendered":"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">\n  LAMP (Linux, Apache, MariaDB, and PHP) remains the most widely deployed web server stack for hosting WordPress sites, custom PHP applications, and traditional dynamic websites. On AlmaLinux 10, all four components are available directly through the default repositories, meaning you can go from a bare OS to a fully working web server in about 15 minutes. This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, PHP 8.3, database security, firewall configuration, and a working PHP test page to confirm everything&#8217;s connected correctly.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Table of Content<\/strong>\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#What-You-Need-to-Install-LAMP-Stack-on-AlmaLinux-10\">What You Need to Install LAMP Stack on AlmaLinux 10<\/a><\/li>\n\n\n\n<li><a href=\"#Install-and-Set-Up-LAMP-Stack-on-AlmaLinux-10\">Install and Set Up LAMP Stack on AlmaLinux 10<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#Step-1:-Update-Your-System\">Step 1: Update Your System<\/a><\/li>\n\n\n\n<li id=\"Step-2:-Install-Apache-on-AlmaLinux-10\"><a href=\"#Step-2:-Install-Apache-on-AlmaLinux-10\">Step 2: Install Apache on AlmaLinux 10<\/a><\/li>\n\n\n\n<li><a href=\"#Step-3:-Install-MariaDB-on-AlmaLinux-10\">Step 3: Install MariaDB on AlmaLinux 10<\/a><\/li>\n\n\n\n<li><a href=\"#Step-4:-Secure-the-MariaDB-Installation\">Step 4: Secure the MariaDB Installation<\/a><\/li>\n\n\n\n<li><a href=\"#Step-5:-Install-PHP-8.3-on-AlmaLinux-10\">Step 5: Install PHP 8.3 on AlmaLinux 10<\/a><\/li>\n\n\n\n<li><a href=\"#Step-6:-Test-PHP-Is-Working-With-Apache\">Step 6: Test PHP Is Working With Apache<\/a><\/li>\n\n\n\n<li><a href=\"#Step-7:-Create-a-Database-for-Your-Application\">Step 7: Create a Database for Your Application<\/a><\/li>\n\n\n\n<li><a href=\"#Step-8:-Configure-SELinux-for-Web-Applications\">Step 8: Configure SELinux for Web Applications<\/a><\/li>\n\n\n\n<li><a href=\"#Step-9:-Set-Up-a-Virtual-Host-(Optional,-Recommended-for-Multiple-Sites)\">Step 9: Set Up a Virtual Host (Optional, Recommended for Multiple Sites)<\/a><\/li>\n\n\n\n<li><a href=\"#Step-10:-Install-an-SSL-Certificate-(Recommended-for-Production)\">Step 10: Install an SSL Certificate (Recommended for Production)<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#Conclusion\">Conclusion<\/a><\/li>\n\n\n\n<li><a href=\"#Frequently-Asked-Questions\">Frequently Asked Questions<\/a><br>  <\/li>\n<\/ul>\n\n\n\n<h2 id=\"What-You-Need-to-Install-LAMP-Stack-on-AlmaLinux-10\" class=\"wp-block-heading\"><a id=\"post-17908-_3ajfszbrq0jr\"><\/a><strong>What You Need to Install LAMP Stack on AlmaLinux 10<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Some of the prerequisites are below:\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>An <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-almalinux-10-on-vmware-workstation\/\">AlmaLinux 10 server<\/a> with root or sudo access<\/li>\n\n\n\n<li>At least <strong>1 GB RAM<\/strong> (2 GB+ recommended if you&#8217;ll run anything beyond a small site)<\/li>\n\n\n\n<li>A stable internet connection for package downloads<\/li>\n\n\n\n<li>Port <strong>80<\/strong> (and <strong>443<\/strong> if you&#8217;ll add SSL) reachable through your firewall<br>  <\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">\n  What You&#8217;ll Install\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/httpd.apache.org\/\">Apache 2.4<\/a>, the web server, handling HTTP requests<\/li>\n\n\n\n<li>MariaDB 10.11, the database server, AlmaLinux 10&#8217;s default relational database<\/li>\n\n\n\n<li>PHP 8.3, the scripting language, included directly in AlmaLinux 10&#8217;s AppStream repository with no module stream configuration needed<br>  <\/li>\n<\/ul>\n\n\n\n<h2 id=\"Install-and-Set-Up-LAMP-Stack-on-AlmaLinux-10\" class=\"wp-block-heading\"><a id=\"post-17908-_4iubualeqs9p\"><\/a><strong>Install and Set Up LAMP Stack on AlmaLinux 10<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re installing a LAMP stack on AlmaLinux 10, the process is straightforward: install a LAMP stack on AlmaLinux 10 by setting up Apache as the web server, MariaDB for database management, and PHP for dynamic web applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This LAMP stack setup can be completed by following a few simple steps, whether you&#8217;re looking for a guide on how to install LAMP stack on AlmaLinux 10 or want to install and configure the LAMP stack on AlmaLinux 10 for a production server. Once the components are installed, you&#8217;ll have a working LAMP server on AlmaLinux 10 ready to host PHP-based websites and applications.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  To install a LAMP Stack (Linux, Apache, MariaDB\/MySQL, PHP) on AlmaLinux 10, follow the quick steps below:\n<\/p>\n\n\n\n<h3 id=\"Step-1:-Update-Your-System\" class=\"wp-block-heading\"><a id=\"post-17908-_e206napbz04z\"><\/a><strong>Step 1: Update Your System<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Always start with a fully current package index before installing anything new:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo dnf update\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1092\" height=\"481\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-1.png\" alt=\"update the packages\" class=\"wp-image-17909\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-1.png 1092w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-1-300x132.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-1-1024x451.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-1-768x338.png 768w\" sizes=\"(max-width: 1092px) 100vw, 1092px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"Step-2:-Install-Apache-on-AlmaLinux-10\" class=\"wp-block-heading\"><a id=\"post-17908-_h9v0q45kjd5y\"><\/a><strong>Step 2: Install Apache on AlmaLinux 10<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/greenwebpage.com\/community\/how-to-secure-apache-nginx-with-lets-encrypt-ssl-on-almalinux-10\/\">Apache (httpd)<\/a> is available directly from AlmaLinux 10&#8217;s AppStream repository:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo dnf install httpd -y\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1092\" height=\"578\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-2.png\" alt=\"install apache\" class=\"wp-image-17910\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-2.png 1092w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-2-300x159.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-2-1024x542.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-2-768x407.png 768w\" sizes=\"(max-width: 1092px) 100vw, 1092px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Start the service and enable it to launch on every boot:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl start httpd\n<\/p><p>\n  sudo systemctl enable httpd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1094\" height=\"274\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-3.png\" alt=\"start and enable apache\" class=\"wp-image-17911\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-3.png 1094w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-3-300x75.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-3-1024x256.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-3-768x192.png 768w\" sizes=\"(max-width: 1094px) 100vw, 1094px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Confirm it&#8217;s running:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl status httpd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1091\" height=\"574\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-4.png\" alt=\"check apache status\" class=\"wp-image-17912\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-4.png 1091w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-4-300x158.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-4-1024x539.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-4-768x404.png 768w\" sizes=\"(max-width: 1091px) 100vw, 1091px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  You should see active (running) in green.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17908-_r4zh0iwnzgxe\"><\/a><strong>Open Apache in the Firewall<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">AlmaLinux 10 uses firewalld by default. Open HTTP (and HTTPS, if you&#8217;ll use SSL) so Apache is actually reachable:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo firewall-cmd &#8211;permanent &#8211;add-service=http\n<\/p><p>\n  sudo firewall-cmd &#8211;permanent &#8211;add-service=https\n<\/p><p>\n  sudo firewall-cmd &#8211;reload\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1096\" height=\"304\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-5.png\" alt=\"open apache in firewall rules\" class=\"wp-image-17913\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-5.png 1096w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-5-300x83.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-5-1024x284.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-5-768x213.png 768w\" sizes=\"(max-width: 1096px) 100vw, 1096px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17908-_f98mny6qihsm\"><\/a><strong>Test Apache Is Working<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Open your server&#8217;s IP address in a browser:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  http:\/\/your-server-ip\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1231\" height=\"773\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-6.png\" alt=\"apache test page\" class=\"wp-image-17914\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-6.png 1231w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-6-300x188.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-6-1024x643.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-6-768x482.png 768w\" sizes=\"(max-width: 1231px) 100vw, 1231px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You should see AlmaLinux&#8217;s default Apache test page. If you can&#8217;t reach it, double-check the firewall step above and confirm httpd is actually running.<\/p>\n\n\n\n<h2 id=\"Step-3:-Install-MariaDB-on-AlmaLinux-10\" class=\"wp-block-heading\"><a id=\"post-17908-_sipzgl9peyjm\"><\/a><strong>Step 3: Install MariaDB on AlmaLinux 10<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">MariaDB is also included in AlmaLinux 10&#8217;s default repository; no extra repo setup required:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo dnf install mariadb-server mariadb -y\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1081\" height=\"675\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-7.png\" alt=\"install mariadb\" class=\"wp-image-17915\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-7.png 1081w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-7-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-7-1024x639.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-7-768x480.png 768w\" sizes=\"(max-width: 1081px) 100vw, 1081px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Start and enable the service:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl start mariadb\n<\/p><p>\n  sudo systemctl enable mariadb\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1091\" height=\"404\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-8.png\" alt=\"start and enable mariadb service\" class=\"wp-image-17916\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-8.png 1091w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-8-300x111.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-8-1024x379.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-8-768x284.png 768w\" sizes=\"(max-width: 1091px) 100vw, 1091px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Verify it&#8217;s running:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl status mariadb\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1090\" height=\"578\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-9.png\" alt=\"check mariadb status\" class=\"wp-image-17917\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-9.png 1090w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-9-300x159.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-9-1024x543.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-9-768x407.png 768w\" sizes=\"(max-width: 1090px) 100vw, 1090px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"Step-4:-Secure-the-MariaDB-Installation\" class=\"wp-block-heading\"><a id=\"post-17908-_zcx9qaxde42v\"><\/a><strong>Step 4: Secure the MariaDB Installation<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  This step is essential and should never be skipped on a production server. <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-mariadb-on-ubuntu-24-04\/\">MariaDB installation<\/a> includes a built-in script that removes insecure defaults:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo mysql_secure_installation\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1083\" height=\"365\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-10.png\" alt=\"secure mariadb installation\" class=\"wp-image-17918\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-10.png 1083w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-10-300x101.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-10-1024x345.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-10-768x259.png 768w\" sizes=\"(max-width: 1083px) 100vw, 1083px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Answer the prompts as follows:\n<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><strong>Enter current password for root:<\/strong> Press Enter (blank on a fresh install)<br>  <\/li>\n\n\n\n<li><strong>Switch to unix_socket authentication:<\/strong> Y<br>  <\/li>\n\n\n\n<li><strong>Change the root password:<\/strong> Y, set a strong password<br>  <\/li>\n\n\n\n<li><strong>Remove anonymous users:<\/strong> Y<br>  <\/li>\n\n\n\n<li><strong>Disallow root login remotely:<\/strong> Y<br>  <\/li>\n\n\n\n<li><strong>Remove test database and access to it:<\/strong> Y<br>  <\/li>\n\n\n\n<li><strong>Reload privilege tables now:<\/strong> Y<br>  <\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1089\" height=\"449\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-11.png\" alt=\"\" class=\"wp-image-17919\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-11.png 1089w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-11-300x124.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-11-1024x422.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-11-768x317.png 768w\" sizes=\"(max-width: 1089px) 100vw, 1089px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"Step-5:-Install-PHP-8.3-on-AlmaLinux-10\" class=\"wp-block-heading\"><a id=\"post-17908-_xro13258d42e\"><\/a><strong>Step 5: Install PHP 8.3 on AlmaLinux 10<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">RHEL 10 and its derivatives, including AlmaLinux 10, dropped the old modular repository system, so PHP 8.3 installs directly from AppStream without enabling any module stream:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo dnf install php php-cli php-fpm php-mysqlnd php-gd php-mbstring php-xml php-curl php-zip php-opcache php-intl php-soap -y\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1092\" height=\"680\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-12.png\" alt=\"install php\" class=\"wp-image-17920\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-12.png 1092w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-12-300x187.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-12-1024x638.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-12-768x478.png 768w\" sizes=\"(max-width: 1092px) 100vw, 1092px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">This installs PHP along with the extensions most web applications and CMS platforms (like WordPress) actually require.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Verify the installed version:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  php -v\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1093\" height=\"243\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-13.png\" alt=\"check php version\" class=\"wp-image-17921\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-13.png 1093w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-13-300x67.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-13-1024x228.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-13-768x171.png 768w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Note:<\/strong> If your application specifically needs PHP 8.4 or 8.5 for newer language features, those are available through the Remi repository rather than AppStream. This is worth knowing, but PHP 8.3 covers the vast majority of production applications through its full support window.\n<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-17908-_g0zx2vxak9wd\"><\/a><strong>Restart Apache to Load PHP<\/strong><\/h3>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo systemctl restart httpd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1089\" height=\"112\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-14.png\" alt=\"restart apache to load php\" class=\"wp-image-17922\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-14.png 1089w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-14-300x31.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-14-1024x105.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-14-768x79.png 768w\" sizes=\"(max-width: 1089px) 100vw, 1089px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"Step-6:-Test-PHP-Is-Working-With-Apache\" class=\"wp-block-heading\"><a id=\"post-17908-_yg5901d7lqnm\"><\/a><strong>Step 6: Test PHP Is Working With Apache<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Create a simple test file in Apache&#8217;s web root:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo nano \/var\/www\/html\/info.php\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Add the following:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  &lt;?php\n<\/p><p>\n  phpinfo();\n<\/p><p>\n  ?&gt;\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1091\" height=\"370\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-15.png\" alt=\"\" class=\"wp-image-17923\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-15.png 1091w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-15-300x102.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-15-1024x347.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-15-768x260.png 768w\" sizes=\"(max-width: 1091px) 100vw, 1091px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Save the file, then <a href=\"https:\/\/greenwebpage.com\/community\/how-to-install-google-chrome-on-linux-mint-22\/\">visit it in your browser<\/a>:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  http:\/\/your-server-ip\/info.php\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1166\" height=\"721\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-16.png\" alt=\"php test page\" class=\"wp-image-17924\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-16.png 1166w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-16-300x186.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-16-1024x633.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-16-768x475.png 768w\" sizes=\"(max-width: 1166px) 100vw, 1166px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  You should see a detailed PHP configuration page. If you see the raw PHP code instead of a rendered page, Apache isn&#8217;t correctly processing PHP files. Double-check that php-fpm or mod_php is installed and Apache was restarted.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Important:<\/strong> Delete this file once you&#8217;ve confirmed PHP is working. A phpinfo() page publicly exposes server configuration details that are useful to attackers.\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo rm \/var\/www\/html\/info.php\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1093\" height=\"107\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-17.png\" alt=\"delete info.php file\" class=\"wp-image-17925\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-17.png 1093w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-17-300x29.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-17-1024x100.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-17-768x75.png 768w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h3 id=\"Step-7:-Create-a-Database-for-Your-Application\" class=\"wp-block-heading\"><a id=\"post-17908-_wleia71jtppc\"><\/a><strong>Step 7: Create a Database for Your Application<\/strong><\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Log into MariaDB:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo mysql -u root -p\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1093\" height=\"435\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-18.png\" alt=\"login to mariadb\" class=\"wp-image-17926\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-18.png 1093w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-18-300x119.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-18-1024x408.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-18-768x306.png 768w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a database and a dedicated user; never run your application against the root database account:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  CREATE DATABASE myapp_db;\n<\/p><p>\n  CREATE USER &#8216;myapp_user&#8217;@&#8217;localhost&#8217; IDENTIFIED BY &#8216;StrongPasswordHere!&#8217;;\n<\/p><p>\n  GRANT ALL PRIVILEGES ON myapp_db.* TO &#8216;myapp_user&#8217;@&#8217;localhost&#8217;;\n<\/p><p>\n  FLUSH PRIVILEGES;\n<\/p><p>\n  EXIT;\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1094\" height=\"598\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-19.png\" alt=\"create a database and user\" class=\"wp-image-17927\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-19.png 1094w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-19-300x164.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-19-1024x560.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-19-768x420.png 768w\" sizes=\"(max-width: 1094px) 100vw, 1094px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Step-8:-Configure-SELinux-for-Web-Applications\" class=\"wp-block-heading\"><a id=\"post-17908-_wpxxbhx98dse\"><\/a><strong>Step 8: Configure SELinux for Web Applications<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">AlmaLinux 10 runs SELinux in enforcing mode by default, which restricts what Apache is allowed to do, including writing to directories. If your application needs to write files (uploads, cache, logs), set the appropriate context rather than disabling SELinux:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo semanage fcontext -a -t httpd_sys_rw_content_t &#8220;\/var\/www\/html\/uploads(\/.*)?&#8221;\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1089\" height=\"133\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-20.png\" alt=\"configure selinux for web applications\" class=\"wp-image-17928\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-20.png 1089w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-20-300x37.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-20-1024x125.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-20-768x94.png 768w\" sizes=\"(max-width: 1089px) 100vw, 1089px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If Apache needs to make outbound network connections (common for applications calling external APIs):<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo setsebool -P httpd_can_network_connect 1\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1090\" height=\"94\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-21.png\" alt=\"\" class=\"wp-image-17929\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-21.png 1090w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-21-300x26.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-21-1024x88.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-21-768x66.png 768w\" sizes=\"(max-width: 1090px) 100vw, 1090px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Step-9:-Set-Up-a-Virtual-Host-(Optional,-Recommended-for-Multiple-Sites)\" class=\"wp-block-heading\"><a id=\"post-17908-_2ixmgvbczndv\"><\/a><strong>Step 9: Set Up a Virtual Host (Optional, Recommended for Multiple Sites)<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you&#8217;re hosting more than one site on this server, create a dedicated virtual host instead of using the default document root:<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo mkdir -p \/var\/www\/example.com\/public_html\n<\/p><p>\n  sudo nano \/etc\/httpd\/conf.d\/example.com.conf\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1091\" height=\"135\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-22.png\" alt=\"make a directory and edit example.com.conf file\" class=\"wp-image-17930\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-22.png 1091w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-22-300x37.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-22-1024x127.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-22-768x95.png 768w\" sizes=\"(max-width: 1091px) 100vw, 1091px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Add:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  &lt;VirtualHost *:80&gt;\n<\/p><p>\n      ServerName example.com\n<\/p><p>\n      ServerAlias www.example.com\n<\/p><p>\n      DocumentRoot \/var\/www\/example.com\/public_html\n<\/p><p>\n      ErrorLog \/var\/log\/httpd\/example.com-error.log\n<\/p><p>\n      CustomLog \/var\/log\/httpd\/example.com-access.log combined\n<\/p><p>\n  &lt;\/VirtualHost&gt;\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1083\" height=\"672\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-23.png\" alt=\"edit configuration file\" class=\"wp-image-17931\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-23.png 1083w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-23-300x186.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-23-1024x635.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-23-768x477.png 768w\" sizes=\"(max-width: 1083px) 100vw, 1083px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Set the correct SELinux context and permissions, then restart Apache:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo restorecon -Rv \/var\/www\/example.com\n<\/p><p>\n  sudo systemctl restart httpd\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1093\" height=\"176\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-24.png\" alt=\"restart apache\" class=\"wp-image-17932\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-24.png 1093w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-24-300x48.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-24-1024x165.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-24-768x124.png 768w\" sizes=\"(max-width: 1093px) 100vw, 1093px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<h2 id=\"Step-10:-Install-an-SSL-Certificate-(Recommended-for-Production)\" class=\"wp-block-heading\"><a id=\"post-17908-_jbjqnfdc4ll0\"><\/a><strong>Step 10: Install an SSL Certificate (Recommended for Production)<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Serving a production site over plain HTTP is a security and SEO liability. Install Certbot for a free <a href=\"https:\/\/www.greenwebpage.com\/index.php\/store\/ssl-certificates\/go\/dv\">Let&#8217;s Encrypt certificate<\/a>:\n<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table class=\"has-fixed-layout\"><thead><tr><th><p>\n  sudo dnf install epel-release -y\n<\/p><p>\n  sudo dnf install certbot python3-certbot-apache -y\n<\/p><p>\n  sudo certbot &#8211;apache -d example.com -d www.example.com\n<\/p><\/th><\/tr><\/thead><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1086\" height=\"516\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-25.png\" alt=\"install an ssl certificate\" class=\"wp-image-17933\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-25.png 1086w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-25-300x143.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-25-1024x487.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/word-image-17908-25-768x365.png 768w\" sizes=\"(max-width: 1086px) 100vw, 1086px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Certbot handles certificate issuance and Apache configuration automatically, including HTTP-to-HTTPS redirects.\n<\/p>\n\n\n\n<h2 id=\"Conclusion\" class=\"wp-block-heading\"><strong>Conclusion<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">\n  Installing the LAMP stack on AlmaLinux 10 is straightforward because all three core components, Apache, MariaDB, and PHP 8.3, ship directly in the default AppStream repository with no extra module configuration required. The steps that actually separate a working demo from a production-ready server are the ones people skip: running mysql_secure_installation, creating scoped database users instead of using root, opening only the firewall ports you need, and working with SELinux rather than disabling it. Get those right from the start, and your AlmaLinux 10 server is ready for real traffic.\n<\/p>\n\n\n\n<h2 id=\"Frequently-Asked-Questions\" class=\"wp-block-heading\"><a id=\"post-17908-_o8ny0evg8az0\"><\/a><strong>Frequently Asked Questions<\/strong><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>1. Does AlmaLinux 10 use MySQL or MariaDB by default?<\/strong> \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  AlmaLinux 10 uses MariaDB as its default database engine, continuing the direction RHEL took after Oracle&#8217;s MySQL acquisition. The mysql and mariadb commands point to the same binary, so most MySQL tutorials and tools still work without modification.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>2. What PHP version does AlmaLinux 10 install by default?<\/strong> \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  AlmaLinux 10 ships PHP 8.3 directly in the AppStream repository, installable with a single dnf install php command and no module stream configuration needed. Newer versions like PHP 8.4 and 8.5 are available through the Remi repository if a specific application requires them.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>3. How do I know if my LAMP stack is fully working?<\/strong> \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Create a phpinfo() test file in \/var\/www\/html\/, visit it in a browser, and confirm the PHP configuration page renders correctly rather than downloading as raw code. This confirms Apache, PHP, and the connection between them are all functioning; just remember to delete the file afterward for security.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>4. Why can&#8217;t my PHP application write to a folder even though permissions look correct?<\/strong> This is almost always SELinux, not standard Linux file permissions. AlmaLinux 10 runs SELinux in enforcing mode by default, so directories need the correct SELinux context (like httpd_sys_rw_content_t) in addition to standard chmod\/chown permissions before Apache can write to them.\n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>5. Is it safe to skip mysql_secure_installation when setting up LAMP?<\/strong> \n<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">\n  No. A fresh MariaDB install has no root password, allows anonymous logins, and includes a test database accessible without authentication, all real security risks on an internet-facing server. Running mysql_secure_installation immediately after installation closes these gaps and takes less than a minute.\n<\/p>\n\n    <div class=\"xs_social_share_widget xs_share_url after_content \t\tmain_content  wslu-style-1 wslu-share-box-shaped wslu-fill-colored wslu-none wslu-share-horizontal wslu-theme-font-no wslu-main_content\">\n\n\t\t\n        <ul>\n\t\t\t        <\/ul>\n    <\/div> \n","protected":false},"excerpt":{"rendered":"<p>LAMP (Linux, Apache, MariaDB, and PHP) remains the most widely deployed web server stack for hosting WordPress sites, custom PHP applications, and traditional dynamic websites. On AlmaLinux 10, all four components are available directly through the default repositories, meaning you can go from a bare OS to a fully working web server in about 15 [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":17949,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[1024,233,882,230,601,318],"class_list":["post-17908","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-almalinux-10","tag-apache","tag-lamp","tag-linux","tag-mariadb","tag-php"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.5 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, and PHP 8.3.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, and PHP 8.3.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2026-09-03T11:53:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2026-09-03T11:53:37+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1020\" \/>\n\t<meta property=\"og:image:height\" content=\"600\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Karim Buzdar\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Karim Buzdar\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"12 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide\",\"datePublished\":\"2026-09-03T11:53:34+00:00\",\"dateModified\":\"2026-09-03T11:53:37+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\"},\"wordCount\":1581,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png\",\"keywords\":[\"AlmaLinux 10\",\"Apache\",\"LAMP\",\"Linux\",\"MariaDB\",\"PHP\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\",\"name\":\"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png\",\"datePublished\":\"2026-09-03T11:53:34+00:00\",\"dateModified\":\"2026-09-03T11:53:37+00:00\",\"description\":\"This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, and PHP 8.3.\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png\",\"width\":1020,\"height\":600,\"caption\":\"install lampstack on almalinux 10\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"name\":\"Greenwebpage Community\",\"description\":\"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.\",\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/greenwebpage.com\/community\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\",\"name\":\"Greenwebpage Community\",\"url\":\"https:\/\/greenwebpage.com\/community\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png\",\"width\":512,\"height\":512,\"caption\":\"Greenwebpage Community\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\",\"name\":\"Karim Buzdar\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g\",\"caption\":\"Karim Buzdar\"},\"sameAs\":[\"https:\/\/greenwebpage.com\"],\"url\":\"https:\/\/greenwebpage.com\/community\/author\/karim\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide - Greenwebpage Community","description":"This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, and PHP 8.3.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/","og_locale":"en_US","og_type":"article","og_title":"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide - Greenwebpage Community","og_description":"This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, and PHP 8.3.","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/","og_site_name":"Greenwebpage Community","article_published_time":"2026-09-03T11:53:34+00:00","article_modified_time":"2026-09-03T11:53:37+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png","type":"image\/png"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"12 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide","datePublished":"2026-09-03T11:53:34+00:00","dateModified":"2026-09-03T11:53:37+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/"},"wordCount":1581,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png","keywords":["AlmaLinux 10","Apache","LAMP","Linux","MariaDB","PHP"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/","name":"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png","datePublished":"2026-09-03T11:53:34+00:00","dateModified":"2026-09-03T11:53:37+00:00","description":"This guide covers the complete installation of the LAMP stack on AlmaLinux 10: Apache, MariaDB, and PHP 8.3.","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2026\/09\/install-lampstack-on-almalinux-10.png","width":1020,"height":600,"caption":"install lampstack on almalinux 10"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-almalinux-10\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install LAMP Stack on AlmaLinux 10: Step-by-Step Guide"}]},{"@type":"WebSite","@id":"https:\/\/greenwebpage.com\/community\/#website","url":"https:\/\/greenwebpage.com\/community\/","name":"Greenwebpage Community","description":"Get online in three steps with our wide range of web hosting solutions. Choose from professional business to enterprise options designed to meet your needs.","publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/greenwebpage.com\/community\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/greenwebpage.com\/community\/#organization","name":"Greenwebpage Community","url":"https:\/\/greenwebpage.com\/community\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2023\/10\/cropped-logomic.png","width":512,"height":512,"caption":"Greenwebpage Community"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8","name":"Karim Buzdar","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0628fcbcddd9bc5486245d2cf4a904dbcdeac9ad6c3098f49237094e9d513d0c?s=96&d=mm&r=g","caption":"Karim Buzdar"},"sameAs":["https:\/\/greenwebpage.com"],"url":"https:\/\/greenwebpage.com\/community\/author\/karim\/"}]}},"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/17908","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/comments?post=17908"}],"version-history":[{"count":15,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/17908\/revisions"}],"predecessor-version":[{"id":17948,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/17908\/revisions\/17948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/17949"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=17908"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=17908"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=17908"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}