VDS Sphera Knowledge Base

Main / Browse Categories / Perl & CGI / My Perl or CGI scripts are not working, what can I do?

Print article Print Article    Email article Email Article

My Perl or CGI scripts are not working, what can I do?

If your Perl scripts are returning a 500 Internal server error, most likely related to one of the following:

1. Have you installed the Perl valueapp? If not, login to your control panel and under the side menu "ValueApps" OR "Install & Manage" and under "Web Development", install the Perl valueapp.

2. Set the script's permissions to allow it to execute using the command/settings chmod 755.     (E.g. $chmod 755 test.cgi)

3. Make sure that the interpreter designation (first line of the script) is correct and has the correct path - usually it is #!/usr/bin/perl. You can search for the perl directory to make sure.

User Comments
My Perl or CGI scripts are not working, what can I do?  
There are no user comments for this topic.
 

Attachments
No attachments.

Related Articles
 How can I run Perl scripts outside of the cgi-bin directory?
 Where is Perl located on the server?
 Where is the default cgi-bin in my VDS?
 How do I install Perl Modules using CPAN (Gnu Compiler Collection)?
 How can I avoid being asked to upgrade Perl every time I install a Perl Module?

Why Choose Our Hosting?

  • Unmatched Customer Support!
  • Virtual Private Server technology provides a rich, dedicated-like environment for every account.
  • We are known for our superb quality, performance and flexible hosting environment. We manage the server, software, and network you do the rest.
Continue reading »

Featured Hosting Plan


Learn more about our VPS Extreme

What is Included?

  • PHP 5/MySQL 5
  • Parallels® Plesk Panel 10
  • Unique IP Address
  • Daily VPS Backups (Off Server)
  • SAS Hardware Raid diskspace
  • CentOS 5 x86_64 bit
  • Multi-homed Tier 1 Bandwidth
  • Full Upgrade capabilities
Continue reading »