1. Advertising
    y u no do it?

    Advertising (learn more)

    Advertise virtually anything here, with CPM banner ads, CPM email ads and CPC contextual links. You can target relevant areas of the site and show ads based on geographical location of the user if you wish.

    Starts at just $1 per CPM or $0.10 per CPC.

Help installing php on my nginx server

Discussion in 'Nginx' started by ASTRAPI, Mar 13, 2011.

  1. #1
    Hello

    I want some help please to install on my nginx dedicated server (Centos) the latest php.

    I want to host a forum and i want a basic php installation for that (the best way for easy to update it in the future).

    What commands i must run from ssh for this and do i have to browse to a folder before i run those commands?

    Thank you
     
    ASTRAPI, Mar 13, 2011 IP
  2. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Anyone please?
     
    ASTRAPI, Mar 17, 2011 IP
  3. anands

    anands Well-Known Member

    Messages:
    436
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    120
    #3
    anands, Mar 17, 2011 IP
  4. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Thanks anands :)

    But i was looking for more custom solution so i can update easy tha nginx and the mysql and php and to not use repo.

    Installing php from source plus some basic parameters so a forum can work will be great :)
     
    ASTRAPI, Mar 18, 2011 IP
  5. Cheapvpsoffers

    Cheapvpsoffers Member

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    31
    #5
    Do you have any control panel installed on server?
     
    Cheapvpsoffers, Mar 18, 2011 IP
  6. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    No i do not.
     
    ASTRAPI, Mar 19, 2011 IP
  7. rod.maqstuirt

    rod.maqstuirt Peon

    Messages:
    11
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #7
    well, I use this:
    http://interfacelab.com/nginx-php-fpm-apc-awesome/
    Code (markup):
     
    rod.maqstuirt, Mar 20, 2011 IP
  8. ASTRAPI

    ASTRAPI Guest

    Messages:
    500
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Are you using a forum?

    As i was try on my previous configuration Apache - php (fastcgi) i had some problesm.

    When a user registers the first minute was ok the stats down on the left on my forum.

    Then after a few minutes new users was registered and after i press F5 to refresh the page every time i got wrong stats.

    Some times 550 (correct stat) after F5 again i got 546 and again 542 and then 550 and every time i was refreshing the page i got thisproblem and the same also happend with the shoutbox and topic replies.

    I was reply and then after f5 reply was there and then F5 again and the reply gone and after a whie f5 and the reply is back.

    Then i go back to DSO Apache Handler and all problems gone.

    That's why i am asking if you have related problems with fastcgi ....

    Anyone please give more info about this.

    Thank you
     
    ASTRAPI, Mar 21, 2011 IP
  9. libertyvps

    libertyvps Peon

    Messages:
    14
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    1
    #9
    You need to use php-fpm to run PHP on nginx, you should check out some tutorials or use an autoinstaller.
     
    libertyvps, Nov 24, 2013 IP
  10. Shyamin Ayesh

    Shyamin Ayesh Active Member

    Messages:
    15
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    76
    #10
    hope this tute will help you to understand. Thread is too old but I'm posting this to help if anyone face the same problem again. Please remove the comment if it's against the rules of this forum.

    Install Nginx & PHP on CentsOS/RHEL 7 - https://www.fossgeek.org/server-configuration/install-nginx-php-centos-rhel-server/
     
    Shyamin Ayesh, Aug 10, 2016 IP