What is the path to Perl

The first thing you should do is adjust your scripts to use the correct path to the Perl interpreter, which is responsible for implementing the scripts. To do this, add the following in the beginning of the files:

#!/usr/bin/perl

The path to Perl on the server is:

/usr/bin/perl

  • 458 Users Found This Useful
Was this answer helpful?

Related Articles

Options, IndexOptions, DirectoryIndex, ErrorDocument with .htaccess

1. Authorization and prohibition on listing the content of the folderWhen you open a website...

How to increase the size of uploaded files in PHP

The standard maximum size of the file that you can upload in PHP is 2MB, but some scripts require...

Where to put CGI files

CGI files will work from any folder on your hosting. However, we advise you to keep them in...

PHP modules installed on the web hosting

Normally the web hosting servers have standard installation of the following PHP modules:...

Permissions of the PHP files

To avoid problems, it is best to set the permissions of PHP scripts to a maximum of 755.