Skip to main content

Mod_LSAPI 500 errors on some account

Comments

4 comments

  • PeterN123
    Hello everyone, I found the issue, for some funny reason, LSAPI can't run WP sites with wp-config with 600 permission. I change to 655 and it works perfectly. Anyone know why? I tested it on another server and everything went smoothly even with 600 permission wp-config file.
    0
  • cPRex Jurassic Moderator
    Hey there! I accessed a live server with Litespeed and I wasn't able to reproduce this problem on my end. I did make sure to clear the lscache directory for the user I tested with, but with wp-config.php set to 600 everything still loaded just fine. If you're able to reproduce this issue on your machine you may want to submit a ticket to our team so we can check that out in real-time on your system. If you do submit a ticket, please post the number here so I can follow along and keep this thread updated.
    0
  • PeterN123
    Hello CPRex, I reached out to cPanel support team and manage to find the issue. We were able to replicate the issue you are experiencing by disabling PHP-FPM for the provided subdomain. I believe this may relate to PHP scripts being executed as the nobody Apache user instead of the cPanel user. Would it be ok if we installed the Apache module "mod_suexec" to see if this resolves the issue?
    I installed the module and it works instantly. Thanks everyone for tuning into this thread.
    0
  • cPRex Jurassic Moderator
    Great - I'm glad to hear we helped get that resolved!
    0

Please sign in to leave a comment.