Toggle navigation Home Store Browse All ----- Webhosting Domains Quotation (Webdesign Services) eMail Hosting SEO- Search Engine Optimisation GRAPHIC DESIGN Dedicated/ VPS Webhosting BULKSMS Mobi Applications Website Maintenance Register a New Domain Transfer Domains to Us Announcements Knowledgebase Network Status Affiliates Contact Us Account Login Register ----- Forgot Password? Categories 9 CGI Scripts 34 Databases 28 Dedicated Servers 1 DNS 15 Domains 5 eCommerce 79 eMails 27 FTP 1 General Issues 1 MX Records 1 Nameservers 28 Other 104 Scripting 254 Web Hosting Control Panel 9 Web Resources 8 Web Stats & Logs 11 Web Tools 8 Website Help and Diagnostics 4 Windows Hosting Categories CGI Scripts (9) Databases (34) Dedicated Servers (28) DNS (1) Domains (15) eCommerce (5) eMails (79) FTP (27) General Issues (1) MX Records (1) Nameservers (1) Other (28) Scripting (104) Web Hosting Control Panel (254) Web Resources (9) Web Stats & Logs (8) Web Tools (11) Website Help and Diagnostics (8) Windows Hosting (4) [WHP1.13] CGI scripts fail with 'exec format error' A CGI script must begin with a valid 'interpreter line' also called 'shebang'. That must be the first line in the file and must start in the first column. It should begin with the two characters '#!', followed by a path to an interpreter, followed by any options.For example: #!/usr/bin/php will run the script through the PHP interpreter at /usr/bin/php. #!/usr/bin/perl -w runs the script through /usr/bin/perl with the -w flag to enable warnings.An 'exec format error' is the result of an invalid interpreter line. That could be because the interpreter line is missing, or indented with a tab, for instance. Was this answer helpful? Yes No Print this Article Also Read [WHP1.12] Why aren't my AWStats or Webalizer stats pages updating / working? The stats are automatically updated when you visit the correct URL. That is, the URL must not... [WHP1.06] I made some changes to my site, but when I view it still has the old pages, why is that? It is likely that you are pulling up a cached (a stored) version of your page. To fix this... [WHP1.20] My script states that the MAX_JOIN_SIZE setting in MySQL set to low. How do I increase it? MySQL will refuse to execute select statements that process a very large number of rows. You... [WHP1.17] Scripts on my old server ran under permission 777 but I have so many files to alter. Is there an easy way of doing this? We do not allow scripts to run under 777 for reasons of security. Executable scripts should run... [WHP1.07] Why do I get a red (x) where my images are supposed to appear? I made some changes to my site, but when I view it still has the oCheck to make sure the names of... Support My Support Tickets Announcements Knowledgebase Downloads Network Status Open Ticket × Close Title Loading...