How to Run Multiple Websites with Different PHP Versions in Nginx

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.

Aaron Kili

Aaron Kili is a Linux and F.O.S.S enthusiast, an upcoming Linux SysAdmin, web developer, and currently a content creator for TecMint who loves working with computers and strongly believes in sharing knowledge.

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

11 Responses

  1. Natka says:

    How to Configure step 7 in apache 2.4

    Thanks in advance.

  2. liam.wang says:

    good job!

    point 13 need adjust the content of website1 and website2

  3. Zulmi says:

    Thank you very much, it really helped.

  4. Grace says:

    Hi I got this message when run this command.

    Loaded module fastestmirror
    Repository packages-microsoft-com-prod is listed more than once in the configuration
    

    How to fix that?

  5. Hank Cape says:

    Just for those (others) running these on automaton, there might be a good reason to add instructions starting database in Step 3 between 6. and 7. :) I knew it but some others might not get it and they might get frustrated.

    • Hank Cape says:

      Also, Step 5 point 12. The second to last line is incorrect, systemctl enable php56-fpm should be systemctl enable php56-php-fpm.

      I don’t need these comments to be published, just to inform you about these two things in otherwise excellent article.

      hank

      • Aaron Kili says:

        @Hank

        Many thanks for the heads up. We will correct this as soon as possible. However, the comments have to be published, because this is useful info you have shared. Thanks once more.

Got something to say? Join the discussion.

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.