Apache 2.2, mod_perl local setup windows 10 help
Trying to set up a local environment for web application that we support.
windows 10 OS
Apache 2.2 installed. (win32)
Mod_perl 5.12 installed. (win32)
Strawberry perl 5.12 installed. (win32)
Can successfully run a simple Hello.pm from localhost/hello with these configurations in http.conf, indicating mod_perl installed correctly.
Perl startup.pl in eclipse has correct @INC. Can spit out @ INC with the following command in eclipse script:
print Dumper \@INC;
But Apache log shows the @INC differently, and is incorrect, causing @INC errors in the log and web application can not run. Apache is calling the same startup.pl script that is in eclipse using the perlRequire statement in httpd.conf.
Error like this in apache log:
Can't locate PageTool.pm in @INC (@INC contains: C:\\Program Files (x86)\\Apache Software Foundation\\Apache2.2 C:\\Program Files (x86)\\Apache Software Foundation\\perllib C:/Strawberry/perl/site/lib C:/Strawberry/perl/vendor/lib C:/Strawberry/perl/lib . C:/Program Files (x86)/Apache Software Foundation/Apache2.2) at C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/braveweb/apps-ssl/common/startup.pl line 21
This path is different from what is showing in eclipse and is incorrect.
Any help would be appreciated.