You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: doc/Users guide Apache.idmap.txt
+5-4Lines changed: 5 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -74,10 +74,6 @@
74
74
75
75
2.3. Upgrading or downgrading Phusion Passenger => upgrading-or-downgrading-phusion-passenger-1dl8km6
76
76
77
-
2.3.1. Via a gem or a source tarball => via-a-gem-or-a-source-tarball-1vgkwhs
78
-
79
-
2.3.2. Via a native Linux package => via-a-native-linux-package-8dvooa
80
-
81
77
2.4. Unloading (disabling) Phusion Passenger from Apache without uninstalling it => unloading-disabling-phusion-passenger-from-apache-without-uninstalling-it-s1axnx
9.3. How Phusion Passenger detects whether a virtual host is a web application => how-phusion-passenger-detects-whether-a-virtual-host-is-a-web-application-179mp8m
316
312
313
+
Obtaining Phusion Passenger files through a tarball => obtaining-phusion-passenger-files-through-a-tarball-evcm0j
314
+
315
+
Obtaining Phusion Passenger files with RubyGems => obtaining-phusion-passenger-files-with-rubygems-8fz7a8
316
+
317
+
Upgrading with native Linux packages => upgrading-with-native-linux-packages-jievu8
Copy file name to clipboardExpand all lines: doc/Users guide Apache.txt
+55-11Lines changed: 55 additions & 11 deletions
Original file line number
Diff line number
Diff line change
@@ -237,31 +237,75 @@ about setting up Ruby on Rails and Phusion Passenger on OpenSolaris and EC2.
237
237
238
238
=== Upgrading or downgrading Phusion Passenger ===
239
239
240
-
==== Via a gem or a source tarball ====
240
+
Upgrading or downgrading Phusion Passenger for Apache involves several steps.
241
241
242
-
To upgrade or downgrade Phusion Passenger via the gem or the source tarball, install the newer
243
-
or older version as you normally would; that is, install the gem or unpack the tarball, and
244
-
run `passenger-install-apache2-module`. Eventually `passenger-install-apache2-module` will tell
245
-
you to copy & paste some settings into the Apache configuration file; something that looks along
246
-
the lines of:
242
+
1. First, you have to obtain and install the files associated with the version that you want to upgrade or downgrade to. You can do this in three ways: by using <<upgrade_or_downgrade_with_rubygems,RubyGems>>, by downloading a <<upgrade_or_downgrade_with_tarball,tarball>>, or by installing a <<upgrade_or_downgrade_with_linux_packages,native Linux package>>. If you installed a native Linux package, then skip to the last step. If not, read on.
243
+
2. Then you have to recompile the Phusion Passenger Apache module by invoking
3. Finally, `passenger-install-apache2-module` will tell you to copy & paste some settings in the configuration file. Something that looks along the lines of:
253
+
+
248
254
-----------------------------------
249
255
LoadModule passenger_module ...
250
256
PassengerRoot ...
251
257
PassengerRuby ...
252
258
-----------------------------------
253
-
259
+
+
254
260
Because you already had Phusion Passenger installed, you already had similar settings
255
261
in your Apache configuration file, just with different values. *Replace* the old settings with
256
262
the new ones that the installer outputs. It is important that the old settings are removed,
257
263
otherwise Phusion Passenger may malfunction.
264
+
4. Restart Apache. You're now done.
265
+
266
+
[float]
267
+
[[upgrade_or_downgrade_with_rubygems]]
268
+
==== Obtaining Phusion Passenger files with RubyGems ====
269
+
270
+
.Open source
271
+
272
+
You can obtain the files associated with the latest _open source_ Phusion Passenger release by invoking the following command:
273
+
274
+
-------------------------
275
+
sudo gem install passenger
276
+
-------------------------
277
+
278
+
You can also obtain a specific version by specifying the `-v` argument, like this:
279
+
280
+
---------------------------------
281
+
sudo gem install passenger -v 3.0.0
282
+
---------------------------------
283
+
284
+
.Enterprise
285
+
286
+
If you're using link:https://www.phusionpassenger.com/enterprise[Phusion Passenger Enterprise] then you should obtain the gem from the link:https://www.phusionpassenger.com/orders[Customer Area] instead. Login with your order reference and password. The Customer Area will show you a list of files. Download the gem file for the version you want (`passenger-enterprise-server-x.x.x.gem`) and install it with:
==== Obtaining Phusion Passenger files through a tarball ====
295
+
296
+
You can obtain the files associated with the latest _open source_ Phusion Passenger release by downloading the tarball linked from link:https://www.phusionpassenger.com/download[the Phusion Passenger download page]. If you want a specific version, please refer to the release archive on link:http://rubyforge.org/frs/?group_id=5873&release_id=46919[RubyForge].
297
+
298
+
If you're using link:https://www.phusionpassenger.com/enterprise[Phusion Passenger Enterprise] then you should obtain the tarball from the link:https://www.phusionpassenger.com/orders[Customer Area] instead. Login with your order reference and password. The Customer Area will show you a list of files. Download the tarball for the version you want (`passenger-enterprise-server-x.x.x.tar.gz`).
299
+
300
+
Once you've obtained the tarball, extract it somewhere:
258
301
259
-
When you're done, restart Apache.
302
+
[float]
303
+
[[upgrade_or_downgrade_with_linux_packages]]
304
+
==== Upgrading with native Linux packages ====
260
305
261
-
==== Via a native Linux package
306
+
When using native Linux packages, it is only possible to upgrade, not downgrade. Native Linux packages are only available for the open source Phusion Passenger, not for Phusion Passenger Enterprise.
262
307
263
-
There are no special instructions required to upgrade or downgrade Phusion Passenger
264
-
via a native Linux package.
308
+
Native Linux packages are contributed by third parties. Although they update pretty quickly, they lag behind gem and tarball releases, perhaps by a few days. Please learn more about native Linux packages link:https://www.phusionpassenger.com/native_packages[at the Phusion Passenger website].
265
309
266
310
=== Unloading (disabling) Phusion Passenger from Apache without uninstalling it ===
0 commit comments