mtiwebmaster Posted November 17, 2005 Posted November 17, 2005 I'm in the process of migrating a website to TCH from another hosting service. I have a bunch of Perl scripts that were working perfectly on the other host, but I'm having trouble getting them running on TCH. When I check the error log in cPanel it says: "Premature end of script headers: <path to script file>" I'm wondering if the shebang line that points to the perl interpreter is different on TCH. On the old host #!/usr/bin/perl5 worked. Does it need to be something different on TCH? I'm I barking up the wrong tree? I've never seen this error message before. Thanks in advance for any help! Quote
TweezerMan Posted November 17, 2005 Posted November 17, 2005 The path to perl should be /usr/bin/perl, but you can verify this is correct for your server/account by looking at the "Path to PERL" under "General server information" in your CPanel. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.