How to Install LAMP with Apache, MariaDB & PHP 7 on CentOS 8

September 27, 2019 | By the+gnu+linux+evangelist | Filed in: Tutorial.

Getting Started

  1. 5. Starting

    Starting & Eventually Enabling Apache
    To Launch it:

    sudo service httpd start

    And to Get it Started at Boot:

    sudo service httpd enable
  2. 6. Testing

    Finally, to Test LAMP Setup
    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 CentOS PHP Info

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

Contents


Tags: , , , , , , , ,

QuickChic Theme • Powered by WordPress