[olug] Distros with httpd 2.4 PHP 5.4 packages

T. J. Brumfield enderandrew at gmail.com
Sat Jun 9 15:36:16 UTC 2012


And while most of the Apache modules were updated to 2.4 in experimental,
sadly libapache2-mod-php5 was not.

On Sat, Jun 9, 2012 at 9:11 AM, Sam Flint <harmonicnm7h at gmail.com> wrote:

> just compile it your self...I will, and compile in php/modperl when i
> get my server set up
>
> On Wed, Jun 6, 2012 at 2:46 PM, T. J. Brumfield <enderandrew at gmail.com>
> wrote:
> > I found it with a little Google-fu.
> >
> > sudo apt-get install -t experimental apache2
> >
> > Debian has updated the modules in experimental. The only third-party one
> > I'm using outside of that is mod_pagespeed, which is updated for 2.4, but
> > still has a package dependency on apache 2.2. So I installed it with:
> >
> > dpkg --force-depends -i mod-pagespeed-*.deb
> >
> > Then I restarted Apache and I have a working 2.4 install, even with
> > mod_pagespeed. However, any apt-get install wants to remove mod-pagespeed
> > now.
> >
> > Next I'm going to see if I can also get mod_spdy working in 2.4 since I'm
> > going all out.
> >
> > On Wed, Jun 6, 2012 at 2:39 PM, Christopher Cashell <topher-olug at zyp.org
> >wrote:
> >
> >> On Tue, Jun 5, 2012 at 11:58 PM, T. J. Brumfield <enderandrew at gmail.com
> >
> >> wrote:
> >> > I'm not used to Debian-based servers. I've got a VM running with
> Debian
> >> Sid
> >> > and I've added the experimental repository to sources.list. How do I
> >> > upgrade to apache 2.4?
> >>
> >> You can force a repository at install time.  You'd use something like
> this:
> >>
> >>  sudo aptitude install httpd2/experimental
> >>
> >> Note, I believe Apache 2.4 breaks ABI compatibility with 2.2, so
> >> external modules may need to be rebuild/recompiled to work with it.
> >> You can make that easier by using aptitude to pull down everything
> >> needed to rebuild/recompile the package.  After installing the Apache
> >> 2.4 package, try installing the module (php, etc) you want.  If it
> >> complains about dependencies, or has errors after installation, you'll
> >> probably have to do a bit of rebuilding.
> >>
> >> For example, if I needed to rebuild mod_foo, with Debian package name
> >> of libapache-mod-foo against apache 2.4, I'd start with:
> >>
> >>  sudo aptitude build-depends libapache-mod-foo
> >>  sudo apt-get --compile source libapache-mod-foo
> >>  sudo dpkg -i libapache-mod-foo*.deb
> >>
> >> There's a pretty decent chance that the package will "just work" from
> that.
> >>
> >> Depending on exactly what you're doing, how involved it is, etc, there
> >> might be a little trial and error before everything sorts out.  If you
> >> run into issues, feel free to say something.  I'm not an expert, but
> >> I've been using Debian for quite a while, so I've muddled my way
> >> through a lot of this before.
> >>
> >> --
> >> Christopher
> >> _______________________________________________
> >> OLUG mailing list
> >> OLUG at olug.org
> >> https://lists.olug.org/mailman/listinfo/olug
> >>
> >
> >
> >
> > --
> > "I'm questioning my education
> > Rewind and what does it show?
> > Could be, the truth it becomes you
> > I'm a seed, wondering why it grows"
> > -- Pearl Jam, Education
> > _______________________________________________
> > OLUG mailing list
> > OLUG at olug.org
> > https://lists.olug.org/mailman/listinfo/olug
>
>
>
> --
> Sam Flint
> flintfam.org/~swflint
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>



-- 
"I'm questioning my education
Rewind and what does it show?
Could be, the truth it becomes you
I'm a seed, wondering why it grows"
-- Pearl Jam, Education



More information about the OLUG mailing list