How to Install LAMP on Fedora 29 Gnu/Linux

March 29, 2019 | By the+gnu+linux+evangelist.

Getting Started

  1. Starting & Possibly Enabling Apache.

    sudo systemctl start httpd.service

    To Get it Started at boot:

    sudo systemctl enable httpd.service
  2. Testing LAMP Istallation
    Making the Php info File:

    sudo nano /var/www/html/test.php

    Append:

    <?php
    phpinfo();
    

    Ctrl+x to Save & Exit from nano editor :)
    Check on Browser at:
    http://localhost/test.php
    LAMP Installation on Fedora PHP Info

  3. (Optional) To Enable Remote Connections on Server.

    sudo firewall-cmd --permanent --zone=public --add-service=http
    sudo systemctl restart firewalld.service

Thanks to if-not-true-then-false.com

Contents


QuickChic Theme • Powered by WordPress