如何解决多乘客安装
我怎样才能找到错误的 passenger
安装并删除它? Passenger
故障排除导致出现多次安装的警告,但反馈以某种方式将它们集成在一起。 Big-Sur
上的最新版本。
Passenger installation test:
* Checking whether this Passenger install is in PATH... ✓
* Checking whether there are no other Passenger installations... (!)
You are currently validating against Phusion Passenger 6.0.7,located in:
/opt/homebrew/Cellar/passenger/6.0.7_5/libexec/bin/passenger
Besides this Passenger installation,the following other
Passenger installations have also been detected:
/opt/homebrew/bin/passenger
Please uninstall these other Passenger installations to avoid
confusion or conflicts.
Detected 0 error(s),1 warning(s).
~ ❯ which passenger
/opt/homebrew/bin/passenger
~ ❯ passenger -v
Phusion Passenger 6.0.7
~ ❯ brew info passenger
passenger: stable 6.0.7 (bottled),HEAD
Server for Ruby,Python,and Node.js apps via Apache/Nginx
https://www.phusionpassenger.com/
/opt/homebrew/Cellar/passenger/6.0.7_5 (4,567 files,288.6MB) *
Poured from bottle on 2021-03-30 at 12:55:05
From: https://github.com/Homebrew/homebrew-core/blob/HEAD/Formula/passenger.rb
License: MIT
==> Dependencies
Build: Nginx ✔
required: openssl@1.1 ✔,pcre ✔
==> Options
--HEAD
Install HEAD version
==> Caveats
To activate Phusion Passenger for Nginx,run:
brew install Nginx
And add the following to /opt/homebrew/etc/Nginx/Nginx.conf at the top scope (outside http{}):
load_module /opt/homebrew/opt/passenger/libexec/modules/ngx_http_passenger_module.so;
And add the following to /opt/homebrew/etc/Nginx/Nginx.conf in the http scope:
passenger_root /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini;
passenger_ruby /usr/bin/ruby;
To activate Phusion Passenger for Apache,create /etc/apache2/other/passenger.conf:
LoadModule passenger_module /opt/homebrew/opt/passenger/libexec/buildout/apache2/mod_passenger.so
PassengerRoot /opt/homebrew/opt/passenger/libexec/src/ruby_supportlib/phusion_passenger/locations.ini
PassengerDefaultRuby /usr/bin/ruby
==> Analytics
install: 593 (30 days),1,494 (90 days),6,255 (365 days)
install-on-request: 548 (30 days),399 (90 days),5,473 (365 days)
build-error: 0 (30 days)
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。