How to Install LAMP on Mageia 7 Gnu/Linux

November 11, 2019 | By the+gnu+linux+evangelist.

Getting Started

  1. 3. LAMP Getting Started

    Starting & Possibly Enabling Apache
    With:

    su -c "systemctl start httpd.service"

    To Get it Started at boot:

    su -c "systemctl enable httpd.service"

    In case to Stop it:

    su -c "systemctl stop httpd.service"

    Testing LAMP Istallation
    Making the Php info File:

    su -c "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 Mageia PHP Info

    (Optional) To Enable Remote Connections on Server.

    su -c "firewall-cmd --permanent --zone=public --add-service=http"
    su -c "systemctl restart firewalld.service"

Contents


QuickChic Theme • Powered by WordPress