Forum Moderators: coopster & phranque

Message Too Old, No Replies

How do I check weather perl is available on my server?

         

designer 123

7:17 am on Sep 6, 2005 (gmt 0)

10+ Year Member



Hi Gyus,
Tx in advance!
I was searching for the script to search a site (not a google but search within the site). I luckily got the script, which says the following things.

Perl 5 must be available on your web server and you must know how to install CGI programs on it or get the help of someone who does. CGI.pm must also be installed, which is usually the case

Humm, How do I know
1) weather perl 5 is available on my server.
2) how to install cgi programs
3) how to install CGI.pm
4) how to do a search-index run.

Or do you guys know any alternative easy way of adding a search within the site.
the sites like freefind.com offers, but doesnot suit my requirement.

CheersBeers:-)
Ram.....

zCat

8:25 am on Sep 6, 2005 (gmt 0)

10+ Year Member




1) weather perl 5 is available on my server.

That depends on what kind of server you have. If you have a dedicated server with Linux, Perl 5 will almost certainly be installed. If you have shell access, issuing "perl -v" at the command line will tell you for sure. If not, see if you have a "cgi-bin" folder.

Otherwise you'll have to ask you server provider - they should have the details on their website.

2) how to install cgi programs

Usually you put them in the cgi-bin folder or similar; you will have to change the file attributes to make the program executable. There should be lots of good tutorials available via your favorite search engine.


3) how to install CGI.pm

If Perl is installed, CGI.pm will also be included.