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

Best Affordable Linux and WordPress Services For Your Business
Outsource Your Linux and WordPress Project and Get it Promptly Completed Remotely and Delivered Online.

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. Get your own self-hosted blog with a Free Domain at ($3.45/month).
  4. Become a Supporter - Make a contribution via PayPal
  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.

RedHat RHCE and RHCSA Certification Book
Linux Foundation LFCS and LFCE Certification Preparation Guide

You may also like...

35 Responses

  1. ahmad zaki bin abdullah says:

    Hi, thanks for the tutorial. It apply to fedora server 25, really appreciated it…

    • Ravi Saive says:


      Yes, Fedora 25 is latest version of Fedora 23 with minor changes, so using these instructions you can easily install LAMP on Fedora 25 without any issues.

  2. 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;

  3. helwie ahmad says:

    very nice tutorial.

  4. Ryan says:

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

  5. VMF says:

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

  6. 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
  7. 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.

  8. 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.

  9. Lam Vo says:

    Thank you very much!

  10. 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..

Leave a Reply to David Cancel reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.