Union flag call 0330 660 0255status support
log in
  • Heart Internet mobile logo
  • Heart Internet Logo
  • Reseller Hosting
  • Premium Hosting
  • Web Hosting
  • VPS
  • Dedicated Servers
  • More

For account and billing queries call our helpline
0330 660 0255

For technical issues relating to your hosting please use our Support database



For information on the status of the Heart servers please use our status page

Heart Internet Support Database
  • Get support
  • Suggest a question
All Categories
Expand
Category
Accounts and Billing (54)
Expand
Category
Add-Ons (84)
Expand
Category
cPanel Web Hosting (26)
Expand
Category
Domain Names (203)
Expand
Category
Email Hosting (153)
Expand
Category
Managed WordPress (147)
Expand
Category
Reseller Hosting (162)
Expand
Category
Servers (514)
Collapse
Category
Web Hosting (650)
Expand
Category
Databases (75)
empty
Category
eXtend Control Panel (24)
empty
Category
FTP (20)
empty
Category
Glossary (28)
Expand
Category
Programming Languages (139)
empty
Category
Site Management (47)
Collapse
Category
Software (120)
empty
Category
Apache (3)
empty
Category
CGI (17)
empty
Category
Joomla (5)
empty
Category
Magento (3)
empty
Category
Moodle (3)
empty
Category
Other (32)
empty
Category
WordPress (6)
empty
Category
Website Extras (37)
empty
Category
Website Problems (45)
Home » Categories » Multiple Categories

Why is my script failing with ’exec format error’?

Article Number: 446 | Rating: 1/5 from 2 votes | Last Updated: Thu, Apr 23, 2015 at 12:36 PM

The ‘exec format error’ is the result of an invalid interpreter line.  All scripts must begin with an interpreter line, also known as a shebang.  This is the first line in the file and must start in the first column.

It begins with the two characters #! and then has the path to the interpreter, followed by any options we need to put in.

If you have this error, you may be missing your interpreter line, or it may be indented with a tab.

For example, if you needed to run a PHP script, it should start with:

#! /usr/bin/php

Or if you needed to run a Perl script with warnings enabled:

#! /usr/bin/perl -w

Where -w is the flag to enable warnings.

Posted - Mon, Mar 16, 2015 at 4:35 PM.
Filed Under: CGI, Software, Web Hosting, Website Problems
1 (2)
Article Rating (2 Votes)
Rate this article
  • Icon PrinterPrint Article
  • Icon EmailEmail Article to Friend
  • Icon PDFExport to PDF
Related Articles
How do I order an SSL Certificate?
Added on Tue, Dec 15, 2020
If I’ve bought my domain from another registrar, how can I host my website with you?
Added on Tue, Mar 10, 2015
Why can’t I connect to my site using FTP?
Added on Fri, Mar 13, 2015
What does this website status code mean?
Added on Wed, Apr 1, 2015
How do I get support from the Heart Internet Customer Services team?
Added on Tue, Mar 3, 2015
 
Heart Internet Logo
Services
  • Domain Names
  • Web Hosting
  • Premium Hosting
  • Reseller Hosting
  • More
  • Virtual Private Servers
  • Dedicated Servers
  • Sign Up
Company
  • About Heart Internet
  • Our Blog
  • Support
  • Our Awards
  • More
  • Careers
  • Contact Us
  • Testimonials and Reviews
Community
  • Affiliate Program
  • Events We Sponsor
© 2016 Heart Internet Ltd. All rights reserved.
Terms and conditions Privacy Policy Sitemap
Heart Internet Logo