Register or log in (lost password?):

Low End Talk

Hosting Websites on Bare Minimum VPS/Dedicated Servers

Low End Talk » Low End Talk

Some Linux Questions

(3 posts)
  • Started 1 year ago by greedyh4mster
  • Latest reply from ipartola

No tags yet.

  1. greedyh4mster
    Member

    Hiya!

    While I am setting up a box using the LowEndBox script available, I am reading up the comments in the post and found an interesting reply.

    By Rafael Martins:
    quick suggestion: install php5-fpm from the dotdeb.org repositories instead of the default PHP fastcgi implementation.

    From what I understand, the script upon choosing installing php; It will install the following:

    php-cgi php5-cgi php5-cli php5-mysql

    Here is the confusing part. Since the script is installing php5-cgi, where does the fcgi comes from? Is php5-cgi the same with fcgi?

    If I never understand wrongly. php-fpm is a process manager for fastcgi right? If i use php-fpm, that will means I will not need any initd scripts to spawn those cgi process?

    I am sorry if I confused you. But it really quite confusing for a noob like me. Would someone have the time to point me to the correct directions?

    Posted 1 year ago #
  2. wonderking
    Member

    @greedyh4mster
    I using nginx as a web server. And using apache to handle the php request. A long ago, I used php-fpm to handle the php scripts, but always occur 502 bad gateway. There seams a problem between php-fpm and nginx, php-fpm can't reload php-cgi itself.

    So nginx and apache is the best choice I know.

    Posted 1 year ago #
  3. ipartola
    Member

    php-cgi can create FastCGI processes. You don't, strictly speaking, need php-fpm. Google "nginx php fastcgi" for various setup instructions.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.