|go ahead... be a heretic|
Installing a new Perl on 1and1by rpnoble419 (Pilgrim)
|on Oct 15, 2012 at 05:09 UTC||Need Help??|
rpnoble419 has asked for the
wisdom of the Perl Monks concerning the following question:
After several weeks of effort I could not get perlbrew to install on my 1and1 server. I did get the generic ActiveState 5.14 to install, However I don't see a perl file in the bin directory. I have a symbolic link called perl5.14.2. I don't have much experience with linux, but I believe that this symbolic link calls the perl-static application. And I can run perl-static -v and get the correct Perl information screen, so I know Perl 5.14.2 is installed and running. I have updated the .bash_profile to add the ~/Perl-5.14/bin to the path and now I can run my scripts from the command line using either perl5.14.2 <name of script> or perl-static <name of scriipt>. I have also added the ~/Perl5-14/lib directory as my PERL5LIB path.
When I try to run the scripts via Apache I'm still getting the default Perl interpreter running. I have changed the #! to reflect the Perl 5.14 path:
I have also tried the following:
I'm left to ponder my life here. I hate running on a shared box. What am I missing? Do I need to point Apache to Perl5.14? I thought by changing the shebang it should work. Should I re-install ActiveState into a directory? Do I need to change anything else in the .bash_profile to force any reference to perl to be redirected to my Perl-5.14?
As always thanks for the help