These are optional and may be nil.
These are optional and may be nil.
These are required and are never nil.
These are required and are never nil.
These are required and are never nil.
This may be nil. It depends on how well we can infer information from the config file.
These are required and are never nil.
These are required and are never nil.
# File lib/phusion_passenger/platform_info/apache_detector.rb, line 47 def initialize(detector) @detector = detector end
# File lib/phusion_passenger/platform_info/apache_detector.rb, line 51 def report log " <b>* Found Apache #{version}!</b>" log " Information:" log " apxs2 : #{apxs2}" log " Main executable: #{httpd}" log " Control command: #{ctl}" log " Config file : #{config_file}" log " Error log file : #{error_log}" log "" log " To install Phusion Passenger against this specific Apache version:" log " #{PlatformInfo.ruby_command} #{PhusionPassenger.bin_dir}/passenger-install-apache2-module --apxs2-path='#{apxs2}'" log "" log " To start, stop or restart this specific Apache version:" log " #{ctl} start" log " #{ctl} stop" log " #{ctl} restart" log "" log " To troubleshoot, please read the logs in this file:" log " #{error_log}" log "" end
# File lib/phusion_passenger/platform_info/apache_detector.rb, line 74 def log(message) @detector.send(:log, message) end