Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

Files with .php extension not working inside cgi-bin folder

Discussion in 'General Discussion' started by Eric M, May 8, 2017.

  1. Eric M

    Eric M Member

    Joined:
    May 8, 2017
    Messages:
    6
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Philippines
    cPanel Access Level:
    Root Administrator
    Hi,

    Help i am new in cpanel and website that we have migrated are not properly working, all the php files that are inside the cgi-bin directory are not working. When we check the logs we only get the errors
    Code:
    [Mon May 08 16:03:22.975305 2017] [cgi:error] [pid 31088] [client 122.52.xxx.xxx:50829] AH01215: (13)Permission denied: exec of '/home/someusr/public_html/admin.example.com.ph/cgi-bin/index.php' failed: /home/someusr/public_html/admin.example.com.ph/cgi-bin/index.php
    [Mon May 08 16:03:22.976267 2017] [cgi:error] [pid 31088] [client 122.52.xxx.xxx:50829] End of script output before headers: index.php
    
    Thank you!
     
    #1 Eric M, May 8, 2017
    Last edited by a moderator: May 8, 2017
  2. 24x7server

    24x7server Well-Known Member

    Joined:
    Apr 17, 2013
    Messages:
    1,813
    Likes Received:
    84
    Trophy Points:
    78
    Location:
    India
    cPanel Access Level:
    Root Administrator
    Hi,

    The cgi-bin is there to execute cgi scripts. There might be some attribute to it, try removing those and see if you are able to execute it properly.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,943
    Likes Received:
    1,821
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice