class PhusionPassenger::PlatformInfo::ApacheDetector
def report
def report log "<banner>Final autodetection results</banner>" @results.each do |result| result.report end if @results.empty? log "<red>Sorry, this program cannot find an Apache installation.</red>" log "" log "To install Apache, please run the following. It will tell you how to install Apache." log "" log " <b>#{PhusionPassenger.bin_dir}/passenger-install-apache2-module</b>" log "" log "If you are sure that you have Apache installed, please read the documentation:" log " * <b>#{PhusionPassenger.apache2_doc_path}</b>, section" log " section 'Installation' -> 'Customizing the compilation process' ->" log " 'Forcing location of command line tools and dependencies'" log " * Or visit the online version:" log " <b>#{APACHE2_DOC_URL}#_forcing_location_of_command_line_tools_and_dependencies</b>" elsif @results.size > 1 log "<yellow>WARNING: You have multiple Apache installations on your system!</yellow>" log "You are strongly recommended to read this section of the documentation:" log " * <b>#{PhusionPassenger.apache2_doc_path}</b>, section" log " section 'Installation' -> 'Customizing the compilation process' ->" log " 'Forcing location of command line tools and dependencies'" log " * Or visit the online version:" log " <b>#{APACHE2_DOC_URL}#_forcing_location_of_command_line_tools_and_dependencies</b>" end end