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:<br /><br />"Premature end of script headers: <path to script file>"<br /><br />I'm wondering if the shebang line that points to the perl interpreter is different on TCH. On the old host<br /><br />#!/usr/bin/perl5 <br /><br />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.<br /><br />Thanks in advance for any help!<!--content-->
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.<!--content-->
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.<!--content-->