It works!

This is the default welcome page for the LAMP Stack on Debian Trixie. The web server software is running and the stack modules are loaded.

If you can read this page, it means that the Apache HTTP server installed at this site is working properly.
What you are seeing is the overview file is located at /var/www/index.html.

Configuration Overview

This server is configured with the following software environment:

  • Operating System: Debian GNU/Linux 13.2 (Trixie)
  • Web Server: Apache/2.4.65-2 (Debian)
  • Database: MariaDB 11.8.3
  • PHP Engine: PHP 8.4.16
MariaDB & PHP 8.4.16

The LAMP stack is pre-configured to handle dynamic content. To check your PHP configuration, you can create a test file in your document root:

echo "<?php phpinfo(); ?>" | sudo tee /var/www/info.php

To manage your MariaDB databases, ensure the php-mysql module is enabled. You can access the MariaDB shell via the terminal using:

sudo mariadb -u root
Document Root

This LAMP stack sets the default document root to:

/var/www

Configuration files for the web server are located in /etc/apache2/. The main configuration file is /etc/apache2/apache2.conf.