The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PHP Handlers

Discussion in 'EasyApache' started by big-pete, Jun 26, 2015.

  1. big-pete

    big-pete Member

    Joined:
    Apr 21, 2012
    Messages:
    14
    Likes Received:
    2
    Trophy Points:
    3
    cPanel Access Level:
    Website Owner
    Couple of issues I need help with please.

    1) My server is mainly used for wordpress sites, what would be the best choice of php handler and cache? ie: fastcgi and apc or maybe varnish?

    2) I rebuilt apache and php to use fastcgi but most of the sites had internal server errors, would this be because of permission errors? and if so is it just a case of changing ownership?

    TIA :)
     
    #1 big-pete, Jun 26, 2015
    Last edited: Jun 26, 2015
  2. dalem

    dalem Well-Known Member
    PartnerNOC

    Joined:
    Oct 24, 2003
    Messages:
    2,577
    Likes Received:
    40
    Trophy Points:
    48
    Location:
    SLC
    cPanel Access Level:
    DataCenter Provider
    yes the 777 file permissions need to be set to 755
    an nobody files need to be set to the user
     
  3. 24x7ss

    24x7ss Well-Known Member

    Joined:
    Sep 30, 2014
    Messages:
    271
    Likes Received:
    16
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Twitter:
    As, you are hosting wordpress site which is easily gets hacked. I will recommend you to go with Suphp. It will help you in investigation when server gets hacked because it will show ownsership of user and then you can easily trace it.

    Regarding the 500 error obviously that's the permission issue. You can fix it by changing the permission of files and folders to default.
     
  4. chrismfz

    chrismfz Well-Known Member

    Joined:
    Jul 4, 2007
    Messages:
    109
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Greece
    cPanel Access Level:
    DataCenter Provider
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,766
    Likes Received:
    662
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    I'd like to point out that you can review /usr/local/apache/logs/error_log to see the specific error message when you encounter "500 Internal Server Error" messages in your browser.

    Thank you.
     
Loading...

Share This Page