Install Latest Nginx 1.10.1, MariaDB 10 and PHP 5.5/5.6 on RHEL/CentOS 7/6 & Fedora 20-24

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.

Ravi Saive

I am Ravi Saive, creator of TecMint. A Computer Geek and Linux Guru who loves to share tricks and tips on Internet. Most Of My Servers runs on Open Source Platform called Linux. Follow Me: Twitter, Facebook and Google+

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

44 Responses

  1. d4jk4 says:

    Hi team,

    I was followed this tutorial, everything works fine except an error in error log, many logs was generated

    2016/10/22 21:39:27 [error] 3044#0: *413880 FastCGI sent in stderr: "Primary script unknown" while reading response header from upstream, 
    client: 43.240.102.18, server: http://torrent4all.com, request: "GET /wp-login.php HTTP/1.1", 
    upstream: "fastcgi://unix:/tmp/php_fpm.sock:", host: "torrent4all.com"
    

    What kind of this error, team? And how can I fix it?

    • Danny Tosic says:

      The website torrent4all.com is work normally?

      You should check your error log carefully, “GET /wp-login.php HTTP/1.1”

      I think it is wrong path

  2. Shevchenkoavl says:

    ———– Installing on RHEL/CentOS 7/6 ———–
    # yum –enablerepo=remi install nginx MariaDB-server (depend: MariaDB-client) php php-common php-fpm

  3. Shevchenkoavl says:

    repo MariaDB for CentOS – http://yum.mariadb.org/10.0/centos6-amd64

  4. David says:

    How to install LEMP on CentOS 7 x86_64 ?

  5. Not work! says:

    I did exactly what it says several times and I do not phphinfo displays. Only The webpage cannot be found.
    My system is VPS, CentOS 6, nginx, mysql, php.

  6. Kyle says:

    Hi,
    I installed nginx and php follow above tips, the nginx was ok and I can see the “Welcome to nginx!” site. But when I visit the php site, the browser download the php file. How can I fix this issue?

  1. November 26, 2014

    […] 레파지토리에는 php 버전도 5.1 이고 심지어 nignx도 0.6 버전이었다. 자세한 설치는 검색하면 […]

  2. June 2, 2016

    […] Don’t Miss: Install Latest Nginx 1.10.1, MariaDB 10 and PHP 5.5/5.6 on RHEL/CentOS 7/6 & Fedora 20-23 […]

  3. September 1, 2016

    […] Install LEMP Stack on RHEL/CentOS 7/6 & Fedora 24-18 […]

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?