PHP under nginx

Discussion in 'PHP' started by Arsham, Oct 15, 2009.

  1. #1
    I would like to know what is the most lighwiegth options of running PHP on linux. I think nginx is quite CPU/memory efficient option. Is it possible to run PHP directly under nginx? Other suggestions?
     
    Arsham, Oct 15, 2009 IP
  2. JAY6390

    JAY6390 Peon

    Messages:
    918
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    0
  3. organicCyborg

    organicCyborg Peon

    Messages:
    330
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Nginx or lighttpd will be the fastest free solutions. You can't get much faster than litespeed though.

    There are lots of tutorials available for getting a server set up with fastCGI. Give that a try.
     
    organicCyborg, Oct 15, 2009 IP
  4. premiumscripts

    premiumscripts Peon

    Messages:
    1,062
    Likes Received:
    48
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Nginx is much faster than lighthttpd, go with that (and easier on the memory usage). I'm sure there are some tutorials on how to configure it.
     
    premiumscripts, Oct 15, 2009 IP
  5. Bora

    Bora Guest

    Messages:
    9
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Honestly, I would go with nginx but if you are a newbie its not easy to configure. However there are great tutorials out there.
     
    Bora, Oct 15, 2009 IP