rhumbliner n00b
Joined: 15 Nov 2004 Posts: 59 Location: Las Vegas
|
Posted: Tue Mar 08, 2016 8:57 pm Post subject: Apache 2.4 Environment Variables |
|
|
i've just upgraded to apache 2.4. i've followed the migration instructions and all seems to be working well except i can't really tell if mod_perl is running properly. my perl applications running under apache have always tested $ENV{MOD_PERL} to insure mod_perl is installed, but it seems that environment variable may no longer be present, or mod_perl really isn't installed.
i have the following:
Code: | * www-servers/apache
Latest version available: 2.4.18
Latest version installed: 2.4.18
Size of files: 5,084 KiB
Homepage: http://httpd.apache.org/
Description: The Apache Web Server
License: Apache-2.0 Apache-1.1
* www-apache/mod_perl
Latest version available: 2.0.10_pre201601
Latest version installed: 2.0.10_pre201601
Size of files: 3,764 KiB
Homepage: https://projects.apache.org/projects/mod_perl.html
Description: An embedded Perl interpreter for Apache2
License: GPL-2
|
when i start apache the log shows:
Code: | cat /var/log/apache2/error_log
...
[Tue Mar 08 13:32:08.002095 2016] [mpm_prefork:notice] [pid 19929] AH00163: Apache/2.4.18 (Unix) mod_perl/2.0.10-dev Perl/v5.20.2 configured -- resuming normal operations
[Tue Mar 08 13:32:08.002155 2016] [core:notice] [pid 19929] AH00094: Command line: '/usr/sbin/apache2 -D PERL -d /usr/lib64/apache2 -f /etc/apache2/httpd.conf'
|
so it looks like mod_perl is installed, but if so, what happened to the environment variable?
any ideas would be greatly appreciated.
tia |
|