The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

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 Registered

    Joined:
    May 8, 2017
    Messages:
    1
    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,406
    Likes Received:
    53
    Trophy Points:
    28
    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.
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,171
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page