Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #187619 > unrolled thread

Older PHP for stretch

Started byDave Sherohman <dave@sherohman.org>
First post2017-10-06 14:40 +0200
Last post2017-10-06 20:00 +0200
Articles 4 — 3 participants

Back to article view | Back to linux.debian.user


Contents

  Older PHP for stretch Dave Sherohman <dave@sherohman.org> - 2017-10-06 14:40 +0200
    Re: Older PHP for stretch Roberto C. Sánchez <roberto@debian.org> - 2017-10-06 15:10 +0200
      Re: Older PHP for stretch Dave Sherohman <dave@sherohman.org> - 2017-10-06 15:20 +0200
        Re: Older PHP for stretch deloptes <deloptes@gmail.com> - 2017-10-06 20:00 +0200

#187619 — Older PHP for stretch

FromDave Sherohman <dave@sherohman.org>
Date2017-10-06 14:40 +0200
SubjectOlder PHP for stretch
Message-ID<uxA54-1y8-9@gated-at.bofh.it>
Does anyone know where I might be able to find a repo with PHP 5.3 for
stretch?  It appears that one of the web apps we depend on is
incompatible with PHP 5.4 or newer and the official stretch php5
packages are version 5.6.30.

-- 
Dave Sherohman

[toc] | [next] | [standalone]


#187623

FromRoberto C. Sánchez <roberto@debian.org>
Date2017-10-06 15:10 +0200
Message-ID<uxAy5-1WT-15@gated-at.bofh.it>
In reply to#187619
On Fri, Oct 06, 2017 at 07:35:28AM -0500, Dave Sherohman wrote:
> Does anyone know where I might be able to find a repo with PHP 5.3 for
> stretch?  It appears that one of the web apps we depend on is
> incompatible with PHP 5.4 or newer and the official stretch php5
> packages are version 5.6.30.
> 

This is highly inadvisable, unless you are deploying within a completely
trusted environment, as PHP 5.3 has been unsupported since August 2014.
However, it did receive security backports from the Debian security team
until February 2016.

That said, if you still wish to proceed, you can download the packages
from here:

http://snapshot.debian.org/package/php5/5.3.3.1-7+squeeze29/

You may find that the binary packages install directly on stretch,
though I suspect that they may not.  You are likely to have to download
the source package and rebuild it.  There is lots of documentation out
there on the Debian Wiki on how to locally rebuild a package.

You will also want to note what additional package dependencies you are
using that are not part of the core PHP package set, as their versions
in stretch are likely to be unsuitable for such an old version of PHP.

You may also find that you have better luck deploying this on wheezy, as
the package versions will not be separated by such a large interval.
For example, the binary packages are more likely to be installable
directly on wheezy than they will be on stretch.  Wheezy will continue
to receive LTS security updates until 31st May, 2018.

Regards,

-Roberto

-- 
Roberto C. Sánchez

[toc] | [prev] | [next] | [standalone]


#187625

FromDave Sherohman <dave@sherohman.org>
Date2017-10-06 15:20 +0200
Message-ID<uxAHM-202-5@gated-at.bofh.it>
In reply to#187623
On Fri, Oct 06, 2017 at 09:08:55AM -0400, Roberto C. Sánchez wrote:
> On Fri, Oct 06, 2017 at 07:35:28AM -0500, Dave Sherohman wrote:
> > Does anyone know where I might be able to find a repo with PHP 5.3 for
> > stretch?

> This is highly inadvisable, unless you are deploying within a completely
> trusted environment, as PHP 5.3 has been unsupported since August 2014.

That's pretty much as I expected, although I had assumed anything older
than jessie was already unsupported.  wheezy might be worth a try,
although we're also looking into whether a newer version of the app
might be available which would run under a more current PHP version.

Thanks!


-- 
Dave Sherohman

[toc] | [prev] | [next] | [standalone]


#187646

Fromdeloptes <deloptes@gmail.com>
Date2017-10-06 20:00 +0200
Message-ID<uxF4K-4B8-1@gated-at.bofh.it>
In reply to#187625
Dave Sherohman wrote:

> That's pretty much as I expected, although I had assumed anything older
> than jessie was already unsupported.  wheezy might be worth a try,
> although we're also looking into whether a newer version of the app
> might be available which would run under a more current PHP version.
> 
> Thanks!

A chrooted debian is always an option. We have been running such under RHEL
for years now.
Basically when app has specific requirements (binaries etc) setup a chroot
and mess with it only when there is a serious security issue.

regards

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.user


csiph-web