I currently have XAMPP installed at C:\xampp. I currently have Activeperl installed at C:\Perl64.
How can I get my XAMPP server to utilize the library in activeperl instead of the built in library in xampp when executing perl scripts?
I currently have XAMPP installed at C:\xampp. I currently have Activeperl installed at C:\Perl64.
How can I get my XAMPP server to utilize the library in activeperl instead of the built in library in xampp when executing perl scripts?
Set the environment variable in httpd.conf. Like described in this post. Settings take effect after restarting Apache. I put this line:
SetEnv PERL5LIB=C:\Strawberry\perl\lib;C:\Strawberry\perl\site\lib
Worked great with Strawberry Perl.
your lib path
in user variables.Follow the below steps:
path to lib folder
Or run following for windows in command prompt:
set PERL5LIB=c:\code\lib
Or run following for Linux:
export PERL5LIB=/home/code/lib
Now open apache2\conf\httpd.conf in Notepad++ and do following changes
SetEnv PERL5LIB C:/code/lib;C:/usr/site/lib;C:/usr/lib
set your PERL5LIB environment variable to point into the ActivePerl lib directory. I don't have the exact incantation for you. I switched from ActivePerl to Strawberry Perl this summer right after YAPC::NA.