{"id":14721,"date":"2025-07-09T08:10:53","date_gmt":"2025-07-09T08:10:53","guid":{"rendered":"https:\/\/greenwebpage.com\/community\/?p=14721"},"modified":"2025-07-09T08:10:56","modified_gmt":"2025-07-09T08:10:56","slug":"how-to-install-lamp-stack-on-debian-12","status":"publish","type":"post","link":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/","title":{"rendered":"How to Install LAMP Stack on Debian 12"},"content":{"rendered":"\n<p>LAMP Stack is a combination of <strong>L<\/strong>inux, <strong>A<\/strong>pache, <strong>M<\/strong>ySQL, and <strong>P<\/strong>HP, which are open-source tools and powerful for the development as well as hosting of web applications. For developers who work on creating web applications, LAMP Stack is a go-to tool as it comes with great efficiency, along with community support. Debian 12, a Linux system, works with LAMP Stack perfectly so it can provide you with a stable and reliable platform for web development.<\/p>\n\n\n\n<p>This guide will help you get:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-14721-_w532j294bs29\"><\/a><strong>How to Install LAMP Stack on Debian 12<\/strong><\/h2>\n\n\n\n<p>Now, since we have completed the installation of Debian 12 which is a Linux operating system, we don\u2019t need to get a new one. To install the other tools, such as Apache Server, MariaDB Database, and PHP, so you can set up your LAMP Stack as well.<\/p>\n\n\n\n<p>To start off configuring these tools, begin by following the given instructions below.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_musvkcnhyroe\"><\/a><strong>Step 1: Update Debian Repository<\/strong><\/h3>\n\n\n\n<p>As a prerequisite, ensure that your Debian system is updated. It can be downloaded through the Debian repository. But first, you need to update the repository to guarantee that the most recent installation of packages will be done.<\/p>\n\n\n\n<pre>sudo apt update &amp;&amp; sudo apt upgrade -y<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img fetchpriority=\"high\" decoding=\"async\" width=\"1144\" height=\"430\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-1.png\" alt=\"sudo apt update &amp;&amp; sudo apt upgrade -y\" class=\"wp-image-14722\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-1.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-1-300x113.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-1-1024x385.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-1-768x289.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_qcocaar528ge\"><\/a><strong>Step 2: Install Apache Server on Debian 12<\/strong><\/h3>\n\n\n\n<p>You can install the LAMP stack from entire packages, but the first and utmost essential one is the Apache Web Server. Let\u2019s download it through the following command.<\/p>\n\n\n\n<pre>sudo apt install apache2 -y<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1147\" height=\"525\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-2.png\" alt=\"sudo apt install apache2 -y\" class=\"wp-image-14723\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-2.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-2-300x137.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-2-1024x469.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-2-768x352.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After following the command to install Apache, check whether Apache is correctly installed and active using the command below.<\/p>\n\n\n\n<pre>sudo systemctl status apache2<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img decoding=\"async\" width=\"1154\" height=\"695\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-3.png\" alt=\"sudo systemctl status apache2\" class=\"wp-image-14724\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-3.png 1154w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-3-300x181.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-3-1024x617.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-3-768x463.png 768w\" sizes=\"(max-width: 1154px) 100vw, 1154px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_e06ea5kl82qp\"><\/a><strong>Step 3: Install Firewall on Debian 12<\/strong><\/h3>\n\n\n\n<p>The UFW must be installed on the Debian system, and it can be possible with the command below.<\/p>\n\n\n\n<pre>sudo apt install ufw -y<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1146\" height=\"526\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-4.png\" alt=\"sudo apt install ufw -y\" class=\"wp-image-14725\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-4.png 1146w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-4-300x138.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-4-1024x470.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-4-768x353.png 768w\" sizes=\"(max-width: 1146px) 100vw, 1146px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The UFW will assist in controlling HTTP traffic through the default Port 80. Thus, it is necessary to activate UFW on your system after installation using the command:<\/p>\n\n\n\n<pre>sudo ufw enable<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1144\" height=\"129\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-5.png\" alt=\"sudo ufw enable\" class=\"wp-image-14726\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-5.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-5-300x34.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-5-1024x115.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-5-768x87.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Allow requests for traffic over Port 80 using the command below.<\/p>\n\n\n\n<pre>sudo ufw allow 80\/tcp<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"139\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-6.png\" alt=\"sudo ufw allow 80\/tcp\" class=\"wp-image-14727\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-6.png 1140w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-6-300x37.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-6-1024x125.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-6-768x94.png 768w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Finally, reload the UFW through the command below:<\/p>\n\n\n\n<pre>sudo ufw reload<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1155\" height=\"135\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-7.png\" alt=\"sudo ufw reload\" class=\"wp-image-14728\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-7.png 1155w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-7-300x35.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-7-1024x120.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-7-768x90.png 768w\" sizes=\"(max-width: 1155px) 100vw, 1155px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_gcmfhgrnrnaz\"><\/a><strong>Step 4: Open Apache2 Default Page<\/strong><\/h3>\n\n\n\n<p>Users can verify the Apache installation by navigating the Apache2 default page via the IP address of your Debian server. Let\u2019s obtain the IP address of your Debian system:<\/p>\n\n\n\n<pre>hostname -I<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1143\" height=\"144\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-8.png\" alt=\"hostname -I\" class=\"wp-image-14729\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-8.png 1143w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-8-300x38.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-8-1024x129.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-8-768x97.png 768w\" sizes=\"(max-width: 1143px) 100vw, 1143px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After confirming the IP address of your Debian server, access a web browser on another computer, type in the IP address of your Debian server, and the Apache2 default page will be displayed:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1324\" height=\"723\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-9.png\" alt=\"Apache default page\" class=\"wp-image-14730\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-9.png 1324w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-9-300x164.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-9-1024x559.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-9-768x419.png 768w\" sizes=\"(max-width: 1324px) 100vw, 1324px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_gj1kfgxgmqtx\"><\/a><strong>Step 5: Install MySQL (MariaDB) Database <\/strong><\/h3>\n\n\n\n<p>With the aid of MySQL, you will be able to store site data and retrieve it when necessary. For this purpose, we are using the MariaDB server here. It is faster and more efficient in dealing with complex tasks because it is a drop-in replacement for the MySQL server.<\/p>\n\n\n\n<p>To install both the clients and servers of MariaDB on Debian, you can use the command below:<\/p>\n\n\n\n<pre>sudo apt install mariadb-server mariadb-client -y<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1154\" height=\"471\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-10.png\" alt=\"sudo apt install mariadb-server mariadb-client -y\" class=\"wp-image-14731\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-10.png 1154w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-10-300x122.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-10-1024x418.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-10-768x313.png 768w\" sizes=\"(max-width: 1154px) 100vw, 1154px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>You can check if the MariaDB server has been installed on Debian with the command below:<\/p>\n\n\n\n<pre>mariadb --version<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1153\" height=\"166\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-11.png\" alt=\"mariadb --version\" class=\"wp-image-14732\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-11.png 1153w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-11-300x43.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-11-1024x147.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-11-768x111.png 768w\" sizes=\"(max-width: 1153px) 100vw, 1153px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_pcvirkpqy7mu\"><\/a><strong>Step 6: Secure MySQL Database Server <\/strong><\/h3>\n\n\n\n<p>MySQL Server has a weak default system setup, which makes the whole database vulnerable. In case someone wants to break into your database, it&#8217;s highly recommended to perform the following on your Debian system:<\/p>\n\n\n\n<pre>sudo mysql_secure_installation<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1145\" height=\"730\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-12.png\" alt=\"sudo mysql_secure_installation\" class=\"wp-image-14733\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-12.png 1145w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-12-300x191.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-12-1024x653.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-12-768x490.png 768w\" sizes=\"(max-width: 1145px) 100vw, 1145px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>After executing the command, a script runs that allows you to pick from a variety of options. The first option given is \u201cEnter current password for root (type in \u2018x\u2019 to skip)\u201d. Follow through with the remaining onscreen instructions, and you&#8217;ll get a final onscreen notification thanking you for securing your MariaDB server:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1140\" height=\"758\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-13.png\" alt=\"sudo mysql_secure_installation\" class=\"wp-image-14734\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-13.png 1140w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-13-300x199.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-13-1024x681.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-13-768x511.png 768w\" sizes=\"(max-width: 1140px) 100vw, 1140px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_dpm5d2b339l1\"><\/a><strong>Step 7: Install PHP on Debian<\/strong><\/h3>\n\n\n\n<p>The last remaining implementation to complete the LAMP stack on Debian is installing PHP. PHP works hand in hand with MySQL and is primarily used for web application development. It is a powerful programming language.<\/p>\n\n\n\n<p>To install PHP along with other software on Debian, you can execute it via the command line as follows:<\/p>\n\n\n\n<pre>sudo apt install php -y<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1142\" height=\"235\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-14.png\" alt=\"sudo apt install php -y\" class=\"wp-image-14735\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-14.png 1142w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-14-300x62.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-14-1024x211.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-14-768x158.png 768w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>To validate installing PHP on Debian, you can execute the command provided below:<\/p>\n\n\n\n<pre>php --version<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1147\" height=\"241\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-15.png\" alt=\"php --version\" class=\"wp-image-14736\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-15.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-15-300x63.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-15-1024x215.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-15-768x161.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>With the command below, you can look for various PHP modules and libraries within the apt repository.<\/p>\n\n\n\n<pre>apt-cache search php- | less<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1147\" height=\"748\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-16.png\" alt=\"apt-cache search php- | less\" class=\"wp-image-14737\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-16.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-16-300x196.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-16-1024x668.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-16-768x501.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Post PHP installation, select any listed modules and install them on your system using the command \u2018apt install\u2019 followed by the specific module and library name.<\/p>\n\n\n\n<pre>sudo apt install module_name -y<\/pre>\n\n\n\n<p>At this point, we have finished installing LAMP Stack on Debian 12.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\"><a id=\"post-14721-_c3o7c4w7bpau\"><\/a><strong>Step 8: Test LAMP Stack Installation on Browser<\/strong><\/h3>\n\n\n\n<p>As a final step, you may want to check if the LAMP Stack is working by creating a simple webpage using PHP. First, be sure to restart your Apache server on Debian with the command below so that the necessary changes are picked up.<\/p>\n\n\n\n<pre>sudo systemctl restart apache2<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1147\" height=\"105\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-17.png\" alt=\"sudo systemctl restart apache2\" class=\"wp-image-14738\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-17.png 1147w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-17-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-17-1024x94.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-17-768x70.png 768w\" sizes=\"(max-width: 1147px) 100vw, 1147px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Then, create a new PHP script file in the Apache web root directory with the following command:<\/p>\n\n\n\n<pre>sudo nano \/var\/www\/html\/file_name.php<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1142\" height=\"101\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-18.png\" alt=\"sudo nano \/var\/www\/html\/file_name.php\" class=\"wp-image-14739\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-18.png 1142w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-18-300x27.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-18-1024x91.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-18-768x68.png 768w\" sizes=\"(max-width: 1142px) 100vw, 1142px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Make sure to change file_name to whatever name you want. When the file is opened, you can add any PHP code; for this example, I insert the following code:<\/p>\n\n\n\n<pre>&lt;?php<\/pre>\n<pre>echo \"Welcome to Debian User\"<\/pre>\n<pre>?&gt;<\/pre>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1144\" height=\"537\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-19.png\" alt=\"sudo nano \/var\/www\/html\/file_name.php\" class=\"wp-image-14740\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-19.png 1144w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-19-300x141.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-19-1024x481.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-19-768x361.png 768w\" sizes=\"(max-width: 1144px) 100vw, 1144px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>Make sure you save the file with CTRL+X, then add Y and press Enter to confirm. Next, open your web browser and navigate to http:\/\/server-ip-address\/file_name.php remembering to replace server-ip-address and file_name with your actual server IP address and the name of the php file.<\/p>\n\n\n\n<pre>http:\/\/server-ip-address\/file_name.php<\/pre>\n\n\n\n<p>This will return, in your browser, the output of the PHP file:<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1232\" height=\"360\" src=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-20.png\" alt=\"http:\/\/server-ip-address\/file_name.php\" class=\"wp-image-14741\" srcset=\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-20.png 1232w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-20-300x88.png 300w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-20-1024x299.png 1024w, https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/word-image-14721-20-768x224.png 768w\" sizes=\"(max-width: 1232px) 100vw, 1232px\" \/><\/figure>\n\n\n\n<p><\/p>\n\n\n\n<p>The shown output in the browser demonstrates that a LAMP Stack web server has been created and is operational on the system.<\/p>\n\n\n\n<p>In this article, we have learned to install LAMP Stack on Debian 12.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><a id=\"post-14721-_xawyrxcmj2rr\"><\/a>Conclusion<\/h2>\n\n\n\n<p>LAMP Stack is a combination of four different components; Linux, Apache, MySQL, and PHP. Follow this guide to install LAMP Stack on Debian 12. LAMP Stack provides a powerful solution for developing and hosting web applications.<\/p>\n\n\n\n<p>In this article, we saw how to install Apache, Firewall, MySQL (MariaDB) databases, and PHP on a Debian 12 system. All the components needed to install LAMP Stack can be found in Debian&#8217;s standard repositories. Additionally, we configured a LAMP Stack web server to make sure all components are fully functional and perfectly integrated into your system.<\/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 Stack is a combination of Linux, Apache, MySQL, and PHP, which are open-source tools and powerful for the development as well as hosting of web applications. For developers who work on creating web applications, LAMP Stack is a go-to tool as it comes with great efficiency, along with community support. Debian 12, a Linux [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":14744,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[43],"tags":[233,297,882,230,250,318],"class_list":["post-14721","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-tutorials","tag-apache","tag-debian-12","tag-lamp","tag-linux","tag-mysql","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 Debian 12 - Greenwebpage Community<\/title>\n<meta name=\"description\" content=\"In this article, we will walk you through how to install LAMP (Linux, Apache, MySQL, PHP) stack on Debian 12 server. Learn more!\" \/>\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-debian-12\/\" \/>\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 Debian 12 - Greenwebpage Community\" \/>\n<meta property=\"og:description\" content=\"In this article, we will walk you through how to install LAMP (Linux, Apache, MySQL, PHP) stack on Debian 12 server. Learn more!\" \/>\n<meta property=\"og:url\" content=\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/\" \/>\n<meta property=\"og:site_name\" content=\"Greenwebpage Community\" \/>\n<meta property=\"article:published_time\" content=\"2025-07-09T08:10:53+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-07-09T08:10:56+00:00\" \/>\n<meta property=\"og:image\" content=\"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg\" \/>\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\/jpeg\" \/>\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=\"9 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-debian-12\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/\"},\"author\":{\"name\":\"Karim Buzdar\",\"@id\":\"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8\"},\"headline\":\"How to Install LAMP Stack on Debian 12\",\"datePublished\":\"2025-07-09T08:10:53+00:00\",\"dateModified\":\"2025-07-09T08:10:56+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/\"},\"wordCount\":980,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#organization\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg\",\"keywords\":[\"Apache\",\"Debian 12\",\"LAMP\",\"Linux\",\"MySQL\",\"PHP\"],\"articleSection\":[\"Tutorials\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/\",\"url\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/\",\"name\":\"How to Install LAMP Stack on Debian 12 - Greenwebpage Community\",\"isPartOf\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg\",\"datePublished\":\"2025-07-09T08:10:53+00:00\",\"dateModified\":\"2025-07-09T08:10:56+00:00\",\"description\":\"In this article, we will walk you through how to install LAMP (Linux, Apache, MySQL, PHP) stack on Debian 12 server. Learn more!\",\"breadcrumb\":{\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage\",\"url\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg\",\"contentUrl\":\"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg\",\"width\":1020,\"height\":600,\"caption\":\"Install Lamp on Debian 12\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/greenwebpage.com\/community\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Install LAMP Stack on Debian 12\"}]},{\"@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 Debian 12 - Greenwebpage Community","description":"In this article, we will walk you through how to install LAMP (Linux, Apache, MySQL, PHP) stack on Debian 12 server. Learn more!","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-debian-12\/","og_locale":"en_US","og_type":"article","og_title":"How to Install LAMP Stack on Debian 12 - Greenwebpage Community","og_description":"In this article, we will walk you through how to install LAMP (Linux, Apache, MySQL, PHP) stack on Debian 12 server. Learn more!","og_url":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/","og_site_name":"Greenwebpage Community","article_published_time":"2025-07-09T08:10:53+00:00","article_modified_time":"2025-07-09T08:10:56+00:00","og_image":[{"width":1020,"height":600,"url":"http:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg","type":"image\/jpeg"}],"author":"Karim Buzdar","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Karim Buzdar","Est. reading time":"9 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#article","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/"},"author":{"name":"Karim Buzdar","@id":"https:\/\/greenwebpage.com\/community\/#\/schema\/person\/467c100c1d017bc081473ee0440680c8"},"headline":"How to Install LAMP Stack on Debian 12","datePublished":"2025-07-09T08:10:53+00:00","dateModified":"2025-07-09T08:10:56+00:00","mainEntityOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/"},"wordCount":980,"commentCount":0,"publisher":{"@id":"https:\/\/greenwebpage.com\/community\/#organization"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg","keywords":["Apache","Debian 12","LAMP","Linux","MySQL","PHP"],"articleSection":["Tutorials"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/","url":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/","name":"How to Install LAMP Stack on Debian 12 - Greenwebpage Community","isPartOf":{"@id":"https:\/\/greenwebpage.com\/community\/#website"},"primaryImageOfPage":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage"},"image":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage"},"thumbnailUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg","datePublished":"2025-07-09T08:10:53+00:00","dateModified":"2025-07-09T08:10:56+00:00","description":"In this article, we will walk you through how to install LAMP (Linux, Apache, MySQL, PHP) stack on Debian 12 server. Learn more!","breadcrumb":{"@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#primaryimage","url":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg","contentUrl":"https:\/\/greenwebpage.com\/community\/wp-content\/uploads\/2025\/07\/Install-Lamp-on-Debian-12.jpg","width":1020,"height":600,"caption":"Install Lamp on Debian 12"},{"@type":"BreadcrumbList","@id":"https:\/\/greenwebpage.com\/community\/how-to-install-lamp-stack-on-debian-12\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/greenwebpage.com\/community\/"},{"@type":"ListItem","position":2,"name":"How to Install LAMP Stack on Debian 12"}]},{"@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\/14721","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=14721"}],"version-history":[{"count":2,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14721\/revisions"}],"predecessor-version":[{"id":14743,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/posts\/14721\/revisions\/14743"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media\/14744"}],"wp:attachment":[{"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/media?parent=14721"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/categories?post=14721"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/greenwebpage.com\/community\/wp-json\/wp\/v2\/tags?post=14721"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}