Page MenuHomePhabricator

Install PHP5.5 on jessie CI instances
Closed, DeclinedPublic

Description

The repository we added for PHP 7 (T144872) also has PHP 5.5 packages, so we can install those on jessie.

I think we'd still want to have some jobs run on trusty though because that has 5.5.9, which is the minimum supported version.

Event Timeline

hashar subscribed.

I dont think we need Zend 5.5 on Jessie images that is available on Trusty images for now. When we phase out Trusty, we can reconsider and add Zend 5.5 on Jessie images.

Legoktm lowered the priority of this task from Low to Lowest.

Re-opening and setting as lowest priority so I don't forget about this. The main purpose of this was to be able to run 5.5, 5.6, and 7.0 tests in the same job.

Ah that makes sense. Does sury provides a 5.5 package that would be coinstallable with their 7.0 one?

yes sury has 5.5 packages that co-install. Currently there are co-installable packages for 5.5, 5.6, 7.0 and 7.1

So in Production we get the Zend packages from the distributions via the puppet class modules/mediawiki/manifests/packages/php5.pp which are:

TrustyZend 5.5
JessieZend 5.6

For contint we use a different class modules/contint/manifests/packages/php.pp though similar. Which ships some additional packages compared to the production class (eg for stuff we dont use in production such as php5-sqlite). AND we get the sury packages:

JessieZend 7.0 (sury)

Guess in the os_version('debian == jessie') conditional, we will want to add the php5.5-* packages we need.

Unsurprisingly sury.org no more provides PHP 5.5 packages since it has reached end of life. https://www.patreon.com/posts/php-5-5-end-of-7174814

http://packages.dotdeb.org has php5.5 packages. We should try to run multi php on jessie. Will allow more jessie tests to run.