Skip to main content

One of our customer face Could not execute script "/home/lespriva/public_html/index.php"

Comments

5 comments

  • GOT
    It looks to me like it's the code in the index.php that is causing the issue. Error around the chdir portion implies that something in the code it trying to change into a non existent directory. If index.php is calling other files as on includes the actual error could be in a different file.
    0
  • Spirogg
    @cPanelLauren ok about external links
    0
  • cPanelLauren
    This is almost always a permissions issue with public_html or the index.php file you'd need to go through and ensure everything has standard permissions - files:644 folders:755
    0
  • ridhoswasta
    Hello thank you guys for all of your replies. I have fixed this issue. The issue is regarding to public_html permission, I already tried to change permission to 755 for public_html but seems there was a glitch so the folder permission became like "drwSr-Sr-- " then I use this command "chmod ug-s " and it worked. THank you!
    0
  • cPanelLauren
    Hello, Glad to hear you were able to get it resolved and thank you for following up here with how it was done. Thanks!
    0

Please sign in to leave a comment.