How to Install LAMP (Linux, Apache, MariaDB and PHP) on Fedora 23 Server and Workstation

If You Appreciate What We Do Here On TecMint, You Should Consider:

  1. Stay Connected to: Twitter | Facebook | Google Plus
  2. Subscribe to our email updates: Sign Up Now
  3. Use our Linode referral link if you plan to buy VPS (it starts at only $10/month).
  4. Support us via PayPal donate - Make a Donation
  5. Support us by purchasing our premium books in PDF format.
  6. Support us by taking our online Linux courses

We are thankful for your never ending support.

Marin Todorov

I am a bachelor in computer science and a Linux Foundation Certified System Administrator. Currently working as a Senior Technical support in the hosting industry. In my free time I like testing new software and inline skating.

Your name can also be listed here. Got a tip? Submit it here to become an TecMint author.

Receive Your Free Complimentary eBook NOW! -

Download Free Linux eBooks

Linux BASH Programming Cookbook
Getting Started with Ubuntu 16.04
A Newbie's Getting Started Guide to Linux
Introduction to Linux - A Hands on Guide

You may also like...

30 Responses

  1. Azhar Munshi says:


    Great Work Dude :)

    I install apache, mysql and php as your instruction and succeeded. Now I want to know which is the url for phpmyadmin.

    I started all the service, and run the file info.php and it show information about php but when I try to run http://my-server-ip/phpmyadmin it says not found.

    Help me with this BTW Article is great and worked successfully.. I am using fedora 24 workstation edition.

    Thank You;

  2. helwie ahmad says:

    very nice tutorial.

  3. Ryan says:

    Just started using Fedora. A great article! Waiting for more content like this on the Net

  4. VMF says:

    Thank you very much for the great step-by-step content.

  5. Francisco says:

    HI !
    I want to know how to remove the automatic starter
    Thanks !

    • Ravi Saive says:


      What do you mean by automatic starter? could you describe it more clearly? or if I am not wrong, you want to disable auto starting of Apache or Mysql? if yes, here is the command to disable them.

      # systemctl disable httpd
      # systemctl disable mariadb
  6. David says:

    Thank you so much for you play by play instructions. Most people do not do this as well as you do. They just assume readers know certain things and they continue leaving steps out….but you did not. So thank you and I hope you keep writing for us, some of us really need the help because we are new to linux but we hate windows so we are trying to break free and papers like this help us do that.

    • Marin Todorov says:

      Thanks for your kind words David. If there are any specific tutorials you would like to see on Tecmint please let us know and we will do our best to cover them for you.

  7. Pat says:

    Nice everything worked well accept the php info file it only gives me a grey screen? however the php install said it completed successfully. I’m really disapointed that fedora doesn’t incluid a gui for: package management, mariadb, Apache. As a part time user having to remember command line details is really unrealistic.

    • Marin Todorov says:

      Hia Pat. Could you please check if anyting is written in the apache error log? Share the lines with us in here.

  8. Lam Vo says:

    Thank you very much!

  9. Iulian says:

    Im using fedora server 23 with XAMPP PHP 7.0.5 and I want to upgrade PHP 7.0.6.
    How do you advise me to do?
    php settings lose? risk sites not to go?

    • Ravi Saive says:


      I think you should just update the XAMPP, it will automatically upgrade PHP to most recent version, check out XAMPP official docs for upgrading PHP..

Got something to say? Join the discussion.

Your email address will not be published. Required fields are marked *

Join Over 300K+ Linux Users
  1. 177,942
  2. 8,310
  3. 37,548

Are you subscribed?