PDA

View Full Version : Path ???


RapReportDOTcom
01-23-2003, 01:21 AM
first off thanx in advance

i am trying to install a photo gallery system into my server, form the begining i'm stuck.. i need to find where PERL is on my server plus this is what the installation tells me :



Now you will want to locate Perl 5 on your server. If you are not sure where to find it, contact your server administrator and ask them. Generally it can be found at /usr/bin/perl or /usr/local/bin/perl

If Perl 5 is located at /usr/bin/perl on your server, you may skip this step. If it is not, you will need to open each of the .cgi files in a text editor such as Notepad. Change the first line of each file to point to Perl 5 on your server. For example, if Perl 5 is at /usr/local/bin/perl, then the first line will be #!/usr/local/bin/perl


i know when i log into my server i first arrive at public_html will this give me a problem if i have to change these files ? i appreciate any comments

thank you for your time

don5408
01-23-2003, 04:14 AM
"If Perl 5 is located at /usr/bin/perl on your server, you may skip this step."

Hi. The path to Perl on HR's servers is in fact /usr/bin/perl so you should be able to use these particular scripts as is without any changes to the "shebang line" in the files.

"i know when i log into my server i first arrive at public_html"

FYI as working with Perl scripts you're likely going to need to know these things at times assuming that we're referring to the rapreport.com domain and that your HR userid is "raprepo" the path to the public_html folder you mention (your root web accessable directory) is /home/raprepo/public_html, the path to your cgi-bin is /home/raprepo/public_html/cgi-bin and the path to sendmail is /usr/sbin/sendmail

When working with Perl scripts (*.pl or *.cgi files) make sure to upload them in ASCII (plain text) rather than Binary mode, and after uploading remember to change the permissions on the files to make them executible (chmod 755). Both of these are tasks which can be performed via most if not all FTP programs, see the Help documentation in your FTP client for details specific to that program.

Good luck...holler if you hit any snags!
Don

RapReportDOTcom
01-23-2003, 04:29 AM
thanx alot man.. i really appreciate it.. good lookin out for real