Path to Perl on web server?

emailtoarpit

New Member
Messages
20
Reaction score
0
Points
0
Hi,

I want to configure NMS formmail script step-by-step as shown on http://www.ironspider.ca/forms/nmsform.h… I have a free hosting account.

When I log-in to my cPanel the Path to Perl is shown as "/usr/bin/perl" however I am unable to locate the exact location/directory or perl module and sendmail module.

Actually I do not quite understand the path of the perl module (above). I mean there is no "bin" folder under the usr(jcren) directory however in the cpanel it is shown as usr/bin/perl

I am new to web-development and I try to apply what I have interpreted from what I learn on the internet so I am not really sure what i have interpreted is correct or not i.e. the path to the PERL module. I have installed a local server on my computer(XAMPP) and the path to perl on my local server is "E:\xampp\perl\bin\perl.exe" which works fine.

I believe the above script (NMS formmail) does not require to have a MYSQL database. Oh boy...I am not really sure...

Please let me know where am I missing out.

Thanks for your advice.
 

xav0989

Community Public Relation
Community Support
Messages
4,467
Reaction score
95
Points
0
The path to perl and sendmail are the ones displayed in cPanel ( /usr/bin/perl and /usr/sbin/sendmail ). Don't worry, it's normal that you aren't able to view them, you are allowed to view only /home/<username>

Remember that on Linux, the file extension doesn't mean a thing. Linux will execute the perl program if the permisions are correct. Here are a few good links on Linux permissions : http://www.hostingmanual.net/other/permissions.shtml http://www.linuxforums.org/articles/file-permissions_94.html . And here are a few on the shebang: http://en.wikipedia.org/wiki/Shebang_(Unix)

And NMS formmail doesn't require any database, as you have guessed.
 
Top