Install a Perl Script

cobaltsean99

New member
Hello. I recently got a cPanel account here at gigalicous and was wondering, how do I install a Perl script. To be precise, I am a family owned business, who has a community library system. We just got a TLD and parked it onto our website. I am trying to install Koha ILS, and can't seem to figure out how to install this on my website for the public to see. Can anyone give me detailed instructions on what I need to do to install this Perl script?
 

PeaceSigns

New member
By default there should be a folder called "cgi-bin" which is where you would throw your script in.

In the past, there used to be something called CGI service wrapper in cpanel that would let you run cgi/perl scripts outside the cgi-bin directory, but I think they got rid of it in newer cpanel since few really use it.
 

cobaltsean99

New member
PeaceSigns said:
By default there should be a folder called "cgi-bin" which is where you would throw your script in.

In the past, there used to be something called CGI service wrapper in cpanel that would let you run cgi/perl scripts outside the cgi-bin directory, but I think they got rid of it in newer cpanel since few really use it.

Putting the folder in cgi-bin gives me, Forbidden, and then typing the full URL to the install, I still get 500 Internal Error even with permissions set as 755
 

amontes

New member
If this is only a Perl script you may chmod 755 it and then execute it using ./script

If this is a module the you may use cpan to install it

If this is related to a web front you may place it under cgi-bin

Also you may put the proper extension. If this is a script use .pl, if this is a module use .pm