my Apache-Servers (Ubuntu 14.04 and Debian Wheezy, Apache 2.2, mod_perl2) do not start because in e.g. Ocsinventory.pm the environment-variable OCS_MODPERL_VERSION is tested in the BEGIN-block. But the environment-variables set by PerlSetEnv in the Apache-configuration of mod_perl are only available in a normal request and not during the BEGIN-block.
I did not find a configuration to make the environment available in the BEGIN-phase. What did I do wrong?