DISQUS

ninajansen.dk: Do not use apt-get to install passenger on Ubuntu

  • Caius · 10 months ago
    Its explained why on our Passenger wiki page, the recommended apache worker module (mpm) isn't compatible with mod_php. However, you can run PHP in FastCGI mode alongside passenger.

    http://wiki.brightbox.co.uk/docs:phusion-passen...
  • John Leach · 10 months ago
    Hi Nina,

    I think we met at Railsconf Europe last year on the Brightbox stand. Our package used to depend on the worker mpm, but that dependency was relaxed after Hongli Lai pointed out it should work fine with prefork. It now requires *either* worker or prefork.

    If your prefork mpm was removed and replaced with the worker mpm by our package, then it's a bug in our package. Do you happen to know which version got installed? What architecture are you on?

    I've just updated our wiki page to make the Worker/Prefork advice clearer.
  • ninajansen · 10 months ago
    Hi John

    Yes, worker prefork and libapache2-mod-php5 was removed by your package. I am on Ubuntu 8.10, intel version. What I did was add the following line to /etc/apt/sources.list:

    deb http://apt.brightbox.net intrepid main

    And I just said yes to the changes without really looking, which is ofcourse my fault not yours :-)
  • John Leach · 10 months ago
    Ah, we don't actually provide Intrepid packages ourselves, but Intrepid comes with it's own official version of the package (actually an older version of our package) - which unfortunately does depend on worker. Our latest package (currently only built for Hardy) has the fixed dependencies.

    Our hardy package might install fine on Hardy though.