Results 1 to 7 of 7

Thread: perl problem

  1. #1
    Join Date
    Jan 2005
    Posts
    231

    perl problem

    I run a Fedora2 server with cpanel.
    I don't know why perl scripts show up an internal server error. Under ssh everything seems to be ok, perl is active. I checked error_log and this error is listed 'Premature end of script headers'
    I tried many scripts with correct chmod but the same error. Also, in the past everything was ok. Maybe because I updated version from 5.8.3 to 5.8.6?


    Thanks in advance for any suggestion.
    Last edited by mtrc; 06-22-2005 at 10:34 AM.

  2. #2
    Join Date
    May 2003
    Location
    Kirkland, WA
    Posts
    4,448

  3. #3
    Join Date
    Jan 2005
    Posts
    231
    Thanks but not working. Via ssh everything is ok, via http all perl script show up internal server error.
    Please check your private messages. I sent you one.

  4. #4
    Join Date
    Nov 2004
    Location
    India
    Posts
    1,100
    Mtrc,

    There are some 'glitches' in recent perl versions (5.8.6). Btw which perl path are you using in your perl script?
    AssistanZ - Beyond Boundaries...
    Cloudstack Consultancy / 24x7 Web Hosting Support / 24x7 Server Management / Infrastructure Management Services
    Web & Mobile Apps Development / Web Designing Services / Php, Grails, Java Development

  5. #5
    Join Date
    May 2003
    Location
    Kirkland, WA
    Posts
    4,448

  6. #6
    Join Date
    Jan 2005
    Posts
    231
    Originally posted by techlollu
    Mtrc,

    There are some 'glitches' in recent perl versions (5.8.6). Btw which perl path are you using in your perl script?
    Standard /usr/bin/perl.
    How could I downgrade to an old version?

  7. #7
    Join Date
    May 2005
    Location
    Bohemia, NY
    Posts
    61
    What is the output of which perl? Are you remembering to set the content-type to text/html at the beginning of your script's output?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •