Perl Install Problem
I recently install RH 9 on my machine, Trying to configure Apache web server along with Perl. I successfully configured the server and installed the perl on it. My questions:
I placed /root/Perl-5.8.0 binaries downloaded from CPAN.org and install the perl as directed by the readme file with it. It got installed successfully, my questions are:
1- what's going to be default path for perl in my scripts?
/usr/bin/perl OR /usr/local/bin/perl ?
2- What additional configuration do I need to do after final installation i.e. 'make install'
3- I am getting premature script header (500 internal server error) for my simplest script when I run this in browser, but when I run the script in the Terminal it runs fine?
4-this shows I have no problems with the script as it runs fine in the terminal, there must be some problem with perl or with installation.
5- I have double checked the causes for internal server error 500, like setting permission, verifying the paths etc, but of no use.
Any ideas?
Thanks for any input.
Zeshan.
|