Skip to main content

SuExec and PHP

Comments

7 comments

  • Infopro
    Check the error log in your cPanel for any clues, right after accessing the page where the twitter feed is located for example.
    0
  • bilberh
    Hi Infopro, I only see the following error:
    [Thu Feb 05 18:53:10 2015] [error] [client 117.245.45.53] File does not exist: /home/opsotech/public_html/images/backgrounds/68.png, referer: http://domain.com/style.css [Thu Feb 05 18:52:23 2015] [error] [client 117.245.45.53] File does not exist: /home/opsotech/public_html/images/backgrounds/68.png, referer: http://domain.com/style.css [Thu Feb 05 18:04:49 2015] [error] [client 117.245.45.53] File does not exist: /home/opsotech/public_html/images/backgrounds/68.png, referer: http://domain.com/style.css [Thu Feb 05 16:57:11 2015] [error] [client 64.233.173.139] File does not exist: /home/opsotech/public_html/main/logo.jpg
    and that's normal, as I didn't uploaded the said files in image folder. What else to look into ? Regards, Sakeer
    0
  • Infopro
    When I changed the folder permission to 777, the slider as well as twitter feed was worked
    Please double check the addons' directories for files not owned by the cPanel user and permissions on those files inside the directories as well.
    0
  • bilberh
    Hi Infopro, Everything looks fine and folder permission set to 755 and file permission to 644, I've double checked that, but still have the same issue. Is there anything I need to check in the tewak settings ? or need to check the ownership of the files and folders? if yes hoe to do that ? Regards, Sakeer.
    0
  • Infopro
    You should be able to check permissions via the cPanel File Manager. If the site itself is working as expected, then you're down to the twitter and slider mod to check into a bit closer. This sounds to me to be a site issue not a cPanel issue though. If you suspect it to be a cPanel issue, please feel free to open a ticket directly to your Hosting Provider or cPanel Technical Support.
    0
  • bilberh
    Hi Infopro, Actually I was in another cPanel powered server and the site was running fine with the same settings, [removed] you can see the site still not removed, but pointed to my new server. No changes I've made to the code or any line of scripts, in the old server it was under a subdomain called main. inthe new server in both public_html folder and sub folder /main also have the files. I don't think it is due to site issues, but any mis-configuration may caused the issue (I think, and am not very well in cpanel tweaking) DO you think I need to check any specific option to run PHP Susexc module to work the folder as having 777 permission ? I think it's better to post a ticket as you said. Regards, Sakeer.
    0
  • cPanelMichael
    Check to verify you are using the same PHP handler on the destination server: "WHM Home " Service Configuration " Configure PHP and suEXEC" Thank you.
    0

Please sign in to leave a comment.