/ /home/httpd/lonUsers my @phprpms = `rpm -q -a|grep php`; if (@phprpms) { print "WARNING: PHP packages are present on this system.\n". "There are known conflicts between PHP libraries and LON-CAPA.\n". "Use the following command to remove ". "the php packages from your system:\nrpm -e "; foreach (@phprpms) { chomp; print $_.' '; } print "\n"; } my @mod_rpms = `rpm -q -a | grep mod`; foreach my $rpm (@mod_rpms) { # next if ($rpm =~ /^mod_perl/); if ($rpm =~ /mod_bandwidth/) { print "WARNING: it appears you have the mod_bandwidth ". "package installed.\n". "mod_bandwidth appears to conflict with LON-CAPA.\n". "Use the following command to remove it:\n". "rpm -e $rpm\n"; } if ($rpm =~ /throttle/) { print "WARNING: it appears you have the mod_throttle ". "package installed.\n". "mod_throttle appears to conflict with LON-CAPA.\n". "Use the following command to remove it:\n". "rpm -e $rpm\n"; } }