This document contains information about the cPanel CGI Center, current alternatives to its scripts, and how to use your own CGI scripts.
The CGI Center was a section in cPanel with pre-installed scripts to add simple functions to a site, such as hit counters or contact forms. cPanel removed it in version 64, so it no longer appears in the panel.
What did it include and what to use today?
- Hit counter: to see how many people visit your site, use the statistics in the Metrics section of cPanel (Awstats or Visitors).
- Contact form (cgiemail or FormMail): use the form in your content management system, for example a form plugin in WordPress.
- Clock, countdown, and random texts or banners: today these are handled with JavaScript or with modules in your content management system.
- Complete applications: blogs, stores, and forums are installed with Softaculous Apps Installer, in the Software section.
Access: log in to cPanel from the client portal → Log in to cPanel, or at https://yourdomain.com/cpanel. The alternatives are in Metrics and Software.
Using your own CGI scripts
Although there are no longer pre-installed scripts, you can still run your own CGI scripts, for example in Perl:
- Open Files → File Manager and go to
public_html/cgi-bin. - Upload the script with a
.cgior.plextension. - Set 755 permissions using the Change Permissions option.
- Open it from the browser at
https://yourdomain.com/cgi-bin/file.cgi.
Important: old scripts that were installed from the CGI Center no longer receive updates and can be a security risk. If your site still uses one, replace it with one of the current alternatives.
Common issues
- I can't find the CGI Center: cPanel removed it. Use the alternatives in this article.
- My script shows "Error 500": check that it has 755 permissions and that the file was uploaded in text mode (ASCII), without Windows line breaks.
- The browser downloads the script instead of executing it: the file is outside
cgi-binor has an unrecognized extension. Move it tocgi-binwith a.cgior.plextension. - My old form stopped sending emails: it was using cgiemail or FormMail. Replace it with a modern form.
If you need help replacing an old script, open a ticket from the client portal or check the online chat on the site.
