$schemamarkup = get_post_meta(get_the_ID(), 'schemamarkup', true); if(!empty($schemamarkup)) { echo $schemamarkup; }

How to Install LAMP PHP 8.4 on Mageia – Step by step

September 8, 2025 | By the+gnu+linux+evangelist.

Getting Started

  1. 3. Testing LAMP

    Finally, to Test LAMP WebServer Installation
    Access the Server document root:

    cd /var/www/html

    Create a PHP info file:

    sudo nano info.php

    Append:

    <?php
    phpinfo();
    ?>
    

    Ctrl+x to Save & Exit from nano.
    Set apache as owner of the web root directory:

    sudo chown -R apache:apache /var/www

    Now open a browser and go to:

    http://localhost/info.php
    For a remote server, replace “localhost” with your Server IP.
    Mageia Linux PHP Info

  2. 4. Setting up Firewall

    (Optional) To Allow Remote Web Access
    Enable HTTP service:

    sudo urpmi firewalld
    sudo systemctl enable --now firewalld
    sudo firewall-cmd --permanent --zone=public --add-service=http

    Reload firewall:

    sudo firewall-cmd --reload
  3. How to Create an Apache 2 Virtual Host on Mageia Linux

    GNU/Linux Apache2 Virtual-Host Quick Start

Contents