NOTE: These are general guidelines for installing Perl Scripts. Refer to the readme file that came with your specific script for more information.

To install your Perl scripts, follow these steps:

  1. Open the script files with an editor such as Notepad and make sure that the server paths are correctly entered (See server paths below.)

  2. Upload the script files to your server in ASCII mode. The script will not work if you upload the files in BINARY mode. You need to place the script files in the public_html sub-directory named "cgi-bin".

  3. Change the permissions for your script files. Most scripts require that you make them executable. Many FTP applications allow you to change a file to executable by right-clicking the file on the remote system and clicking CHMOD (Refer to the readme file that came with the script for more information on CHMOD settings.)

Server Paths:

Path to Perl: /usr/bin/perl

Path to PHP: /usr/bin/php

Path to Sendmail: /usr/sbin/sendmail

Path to Date: /bin/date

Path to Account: /home/username/public_html

Replace username with your actual account username.


Was this answer helpful?

Related Articles

We have a security measure in place in PHP on all servers called "open_basedir". This is where PHP scripts are restricted with regard to what parts...
You can run PHP scripts anywhere on your web space with the exception of the "cgi-bin".
Common Gateway Interface or CGI is a specification which allows Web users to run programs on your server. CGI is not a programming language; it is...
Imagemagick is a popular utility for manipulation of image files within scripts and is often used by image galleries. The ImageMagick files are...
We run suPHP on our servers, so PHP is running as CGI.