How to Install LAMP with Apache, MySQL & PHP 5 on Fedora Linux

March 20, 2017 | By the+gnu+linux+evangelist | Filed in: Tutorial.

LAMP WebServer with PHP 5 Quick Start for Fedora

You are Welcome! The Tutorial Shows You Step-by-Step How to Install Apache, MySQL/MariaDB and PHP 5 on Fedora 32/64-bit GNU/Linux Desktop/Server.

LAMP has become a de facto Development Standard. Today, the products that make up the LAMP stack are included by default in nearly all Linux distributions, and together they make a powerful web application platform.

Install LAMP Server with PHP 5 on Fedora Linux - Featured
  1. Open a Command Line Terminal Window
    (Press “Enter” to Execute Commands)

    Install LAMP Server with PHP 5 on Fedora Linux - Open Terminal
  2. Installing Apache & PHP

    sudo yum install httpd php php-common
  3. Installing PHP Modules

    sudo yum install php-pear php-mysqlnd php-gd php-mbstring php-mcrypt php-xml
  4. Starting & Eventually Enabling Apache

    sudo systemctl start httpd.service

    To Get it Started at boot:

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

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



    Ctrl+x to Save & Exit from nano editor :)
    Check on Browser at:
    LAMP Installation on Fedora PHP Info

  6. (Optional) To Enable Remote Connections on Server

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

Tags: , , , , , , ,

QuickChic Theme • Powered by WordPress