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

LAMP PHP 8.x Installation in Fedora 37 – Step-by-step

January 28, 2023 | By the+gnu+linux+evangelist.

Getting Started

  1. 5. Testing LAMP

    Finally, to Test LAMP WebServer Installation
    Access the Server document’s location:

    cd /var/www/html

    Create a PHP Info file:

    sudo nano info.php

    If Got “User is Not in Sudoers file” then see: How to Enable sudo
    And Append:

    <?php
    phpinfo();
    ?>
    

    Ctrl+x to Save & Exit from nano Editor ;)
    Set apache as owner of Web Server main Directory:

    sudo chown -R apache:apache /var/www

    Now to Start the Apache Web Server run:

    sudo systemctl start httpd

    Then Open a Browser and access the URL:
    http://localhost/info.php
    For a Remote Machine replace “localhost” with your Server IP in the above:
    How to Install LAMP Fedora 37 - PHP Info
    You should Successfully see the PHP Info notice similar to here above :)

  2. 6. Setting up Firewall

    (Optional) Required only to Set up a Web Server
    First, to Enable Remote Connections use:

    sudo firewall-cmd --permanent --zone=public --add-service=http

    Last, Restart the Firewall with:

    sudo systemctl restart firewalld.service
  3. How to Create an Apache 2 Virtual Host on Fedora 37.

    GNU/Linux Apache2 Virtual-Host Quick Start

Contents