|
The first line of the script will have to have
#! /usr/bin/perl
for your perl script to work correctly.
Document Root (the absolute path to your website):
- For Perl: $ENV{'DOCUMENT_ROOT'}
- For PHP $_SERVER['DOCUMENT_ROOT']
- /home/(username)/(domainname)
File extension for Perl scripts: .cgi or.pl
File extension for PHP5 scripts : .php
File extension for Python scripts: .py
Perl 5: /usr/bin/perl
Python 2: /usr/bin/python
sendmail: /usr/sbin/sendmail
MySql 4
PHP 5
Perl scripts must be transferred in ASCII mode and the file permissions must be set
as follows:
Owner: Read, Write, Execute
Group: -
Other: Read, Execute
That is chmod "755"
|