Closed Thread
Results 1 to 3 of 3
Like Tree3Likes
  • 1 Post By xtrain
  • 2 Post By xtrain

Thread: Failed php script execution in cgi-bin

  1. #1
    xtrain is offline x10Hosting Member xtrain is an unknown quantity at this point
    Join Date
    Jan 2009
    Posts
    8

    Failed php script execution in cgi-bin

    Hi All,
    I'm trying to execute a php script contained in the dir cgi-bin, but it doesn't work at all.
    Here below I reported the error encountered:
    "Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request.
    Please contact the server administrator, webmaster@xxx.x10hosting.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
    More information about this error may be available in the server error log.
    Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request."


    I've set 755 for the dir cgi-bin and I've tryed to modify .htaccess file, but without any good results.
    The html files contained in public_html dir are all visible and working fine.


    Do you know how I can solve this issue?
    Thank you very much.


    Regards,

    Alex
    dinomirt96 likes this.

  2. #2
    xav0989's Avatar
    xav0989 is offline Community Public Relation xav0989 is just really nice
    Join Date
    Jul 2008
    Location
    ifk
    Posts
    4,437

    Re: Failed php script execution in cgi-bin

    PHP scripts should not be in the cgi-bin directory. PHP scripts can be executed anywhere. However, you can try searching for an error_log file in the cgi-bin directory and looking at the error log in cPanel.
    Xavier L | Community Public Relations Manager (Free Hosting Support)
    █ Yes, my position is too cool to even exist!
    How am I helping? Rate this post by clicking the icon below! (this is even better than "liking" a post)
    Terms of Service | Acceptable Use Policy | x10Hosting Wiki

  3. #3
    xtrain is offline x10Hosting Member xtrain is an unknown quantity at this point
    Join Date
    Jan 2009
    Posts
    8

    Re: Failed php script execution in cgi-bin

    Yes, I've tried to run php outside from cgi-bin and it works.
    I'd prefer to keep this scripts inside that dir (only for convenience), but the error log in cPanel says:
    [Tue Mar 30 17:41:08 2010] [error] [client 66.249.71.211] script not found or unable to stat: /home/xxx/public_html/cgi-bin/temp.php
    and no more.

    Thank you.

    Bye,
    Alex
    verlmirt17 and karimirt47 like this.

Closed Thread

Similar Threads

  1. Server Execution
    By madhouse in forum Free Hosting
    Replies: 5
    Last Post: 09-15-2008, 03:45 PM
  2. Perl Script Execution Issues
    By dasuser in forum Free Hosting
    Replies: 1
    Last Post: 03-23-2008, 10:57 AM
  3. PHP Execution Forbidden
    By whpoon in forum Free Hosting
    Replies: 1
    Last Post: 10-03-2007, 10:13 PM
  4. Perl script execution?
    By ArNoX in forum Free Hosting
    Replies: 1
    Last Post: 09-15-2007, 06:02 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers