Web Hosting Support Center
CGI Installation Help
Home : Hosting Documentation : CGI Installation Help


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:

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

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".

Change the permissions for your script files. Most scripts require that you make them executable (CHMOD 755). 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.)

TIP: Never use CHMOD 777 as anyone can wipe out your files.

 

Server Paths:

Path to Perl 5:
/usr/bin/perl


Path to PHP:
/usr/bin/php


Path to Sendmail:
/usr/sbin/sendmail


Path to Date:
/bin/date


Full path to your domain:
/home/yourusername/public_html




 © Contains copyrighted material.
Duplication without permission prohibited