
Rene Böhm schrieb:
Hmmm...benutzt du mod_perl, mod_fcgi oder nur cgi ?
Gute Frage. Die /etc/httpd/conf.d/otrs.conf ruft /opt/otrs/scripts/apache2-perl-startup.pl auf und dort steht: #! /usr/bin/perl use strict; # make sure we are in a sane environment. #$ENV{GATEWAY_INTERFACE} =~ /^CGI-Perl/ or die "GATEWAY_INTERFACE not Perl!"; # check $ENV{MOD_PERL}, $ENV{GATEWAY_INTERFACE} is deprecated for mod_perl2 $ENV{MOD_PERL} =~ /mod_perl/ or die "MOD_PERL not used!"; # -- # set otrs lib path! # -- use lib "/opt/otrs/"; use lib "/opt/otrs/Kernel/cpan-lib"; # pull in things we will use in most requests so it is read and compiled # exactly once #use CGI (); CGI->compile(':all'); use CGI (); CGI->compile(':cgi'); use CGI::Carp (); #use Apache (); #use Apache::DBI (); #Apache::DBI->connect_on_init('DBI:mysql:otrs', 'otrs', 'some-pass'); use DBI (); # enable this if you use mysql #use DBD::mysql (); # enable this if you use postgresql #use DBD::Pg (); # enable this if you use oracle #use DBD::Oracle (); use Kernel::Config; ... Könnte ich bei dem use DBD:.. bereits mysql (); wählen? Sehe ich das richtig, das ich nur cgi verwende? Danke, Michael