in reply to Dancer app works until I run it with Plack::Handler::Apache2
G'day LittleJack,
From your post yesterday (Starting out with Dancer and falling at the first hurdle) you're using Dancer2. The link you've provided is for Dancer documentation; the Dancer2 equivalent is https://metacpan.org/dist/Dancer2/view/lib/Dancer2/Manual/Deployment.pod#With-Plack. I had a quick look and can't see any substantial differences; however, it's better to use the right version of the documentation.
"Which perl and which libraries is my Apache (2.4.7) trying to use?"
Either modify your app.psgi, or write a new one, which outputs various version (and perhaps other) information. A very rough, command line example:
$ perl -e ' use List::Util; print "Perl version: $]\n"; print "List::Util version: $List::Util::VERSION\n"; ' Perl version: 5.034000 List::Util version: 1.56
Other suggestions:
Note that I'm attempting to guess what your app.psgi and Apache config look like. Something more concrete from you would be helpful.
— Ken
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Dancer app works until I run it with Plack::Handler::Apache2
by LittleJack (Beadle) on Apr 02, 2022 at 02:39 UTC | |
by hippo (Archbishop) on Apr 02, 2022 at 10:18 UTC | |
by LittleJack (Beadle) on Apr 04, 2022 at 04:18 UTC |