Skip to main content
cPanel Technical Support has been heavily impacted by hurricane Beryl and our ability to respond to tickets has been hindered as a result. We appreciate your understanding and patience as we address these delays.

PHP Error Logging with Litespeed

Comments

8 comments

  • cPRex Jurassic Moderator

    Hey there!  I don't have a good explanation for this one as I wouldn't expect that behavior to change.  Could you create a ticket so we can take a look?

    0
  • Fischecp

    Absolutely.  Thank you!

    0
  • Fischecp

    Hey cPRex,

    So... I tried to create a ticket and I guess since I bought the CPanel license from GoDaddy, it wants me to put the request in to GoDaddy.  Well, I just got off the phone with GoDaddy and they don't support Litespeed at all and they won't even open up a ticket for me.  So I'm in a bind here.  Do you have any type of solution?

    Thanks,

    Chris

    0
  • cPRex Jurassic Moderator

    Where did you purchase your Litespeed license from?

    0
  • Fischecp

    From Litespeed directly.

    0
  • cPRex Jurassic Moderator

    GoDaddy should absolutely be willing to help with the cPanel side of things - if they aren't able to solve the issue they should escalate the ticket to us.  From what you've described though, it does sound like something with Litespeed so I'm surprised they directed you to us when neither license was purchased through cPanel.

    With the new license structure I don't have much I can offer on my end.

    0
  • Fischecp

    Alright - I figured it out.  I feel really stupid but the logs used to be stored in /home/$user/logs when I was running it with PHP-FPM.  Well, I guess when you switch over to Litespeed, the log files are then stored inside the /home/$user/public_html folder, which is where the php.ini file is located.  I didn't know that PHP-FPM kind of had a "special folder" for the logs that overrides the php.ini location that's set.

    With that being said, just out of curiosity, is there any way that you know of to set the log location back to the /home/$user/logs in the php.ini file?  You can't use variables in there can you?

    0
  • cPRex Jurassic Moderator

    You sure can - options both with and without PHP-FPM can be found here:

    https://support.cpanel.net/hc/en-us/articles/360050860534-How-do-I-set-the-PHP-error-log-location

    0

Please sign in to leave a comment.