事象
Passengerをインストールして、設定を追加するとhttpdが起動しなくなってしまった。 ログには以下の出力あり。
Invalid command 'PassengerResolveSymlinksInDocumentRoot', perhaps misspelled or defined by a module not included in the server configuration
環境
Passenger 5.2.3
原因
Passenger 5.2から、PassengerResolveSymlinksInDocumentRootが廃止されたため。
対策
- PassengerResolveSymlinksInDocumentRootを削除する。
- シンボリックリンクをやめるか、PassengerAppRootを使用する。