How to upload / run Perl script?

Please follow the steps below to deploy perl script on your hosting account.


Connect to FTP, change to public_html/cgi-bin folder


Upload Perl script under ASCII mode


Set CHMOD 755 to enable execute permission


Your Perl script should work in web browser now


You can test create hello.pl file and upload to the hosting space.


Sample Hello World Perl script:


#!/usr/local/bin/perl
print "Content-type: text/html\n\n";
print "Hello World\n";

  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

500 Internal Server Error

This is a common error when you change CHMOD to 777 or have incorrect syntax in .htaccess file....

cPanel custom error pages

To create a custom error page for your account you will need to either upload a file with the...

Custom PHP.ini

You can create a custom php.ini file and ftp upload it to your root / just above www/public_html....

Do you have a manual for Cpanel?

Cpanel documentation http://www.cpanel.net/docs/cpanel/

How can I backup my site using Cpanel?

All depends on how complex your website is. If it is just a pretty simple website with basic...

Powered by WHMCompleteSolution