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!

500 error-malformed headers

Discussion in 'General Discussion' started by IFAPaulB, Mar 12, 2006.

  1. IFAPaulB

    IFAPaulB Registered

    Joined:
    Dec 28, 2005
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    151
    Location:
    Land of Silicon and toxic byproducts
    Hello,

    One of my clients installed a script that was working on another Lniux/Apache server, but is not working on my CPanel server.

    It is a login access script, and upon hitting "Submit" you receive a 500 error. The error logs return:

    malformed header from script. Bad header=<Br><Br>Can't call method "pre: /home/lustyx/public_html/bike/bike.pl

    I checked the standard things-file was uploaded as ASCII, chmod set to 755, path set to #!/usr/bin/perl

    Am I missing a Perl module? Any help would be appreciated.
     
  2. abhijit04

    abhijit04 Registered

    Joined:
    Aug 25, 2007
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    51
    Location:
    Pune, India
    You can fix the issue by creating a Symlink for php binary Or copy the contents of /usr/bin/php-cgi to /usr/bin/php.

    Use this command :-
    ln -s /usr/bin/php-cgi /usr/bin/php
     
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