我已經安裝乘客,然後apache2。一切正常,但是當我要80端口上啓動客運它說:apache2和乘客的軌道
*** ERROR ***
The address 0.0.0.0:80 is already in use by another process, perhaps another
Phusion Passenger Standalone instance.
If you want to run this Phusion Passenger Standalone instance on another port,
use the -p option, like this:
passenger start -p 81
和80端口的工作的Apache2。所以他們不一起工作。如果我想在80端口啓動乘客,我必須禁用apache2。這是對的嗎?或者我應該如何更改設置? 現在我已經做到: /etc/apache2/mods-available/passenger.conf:
PassengerRoot /usr/lib/ruby/gems/1.8/gems/passenger-2.2.14
PassengerRuby /usr/bin/ruby1.8
/etc/apache2/mods-available/passenger.load:
LoadModule passenger_module /usr/lib/ruby/gems/1.8/gems/passenger-3.0.9/ext/apache2/mod_passenger.so
並沒有什麼其他。謝謝你的回答
正確的,一次只能有一個進程監聽端口。 – Eric