Page MenuHomePhabricator

Downgrade php on jessie to php 5.5 and enable for use in tests
Closed, ResolvedPublic

Description

Steps to reproduce

Theres no steps since this Is a feature request.

But could php5.6 be downgraded to 5.5 to match trusty since some repos such as oojs-ui in npm use composer and need php.

We can follow http://serverfault.com/questions/367885/downgrade-php-5-4-to-5-3-in-debian (2nd answer not first). Downloading at http://packages.ubuntu.com/trusty/all/php5/download and installing the .deb file in Jessie and install it.

Details

Related Changes in Gerrit:

Event Timeline

hashar claimed this task.
hashar subscribed.

To enforce compatibility with Zend 5.5 (such as for MediaWiki 1.27), we have the jobs to run on Ubuntu Trusty instances.

oojs/ui npm test relies on some PHP flavor to be installed, that is part of the build.

The npm job runs on Jessie and we had Zuul to inject PHP_BIN=hhvm to provide some PHP version: 16088f4f48a824384b4076b58bbee437c94a3b67

That was part of T128091: Migrate OOjs UI npm, npm-run-doc and npm-run-demos CI jobs to Nodepool

For now, there is no need for Zend 5.5 on Jessie instances (we use Trusty ones). Jobs running on Jessie would just use HHVM which is usually just fine.

Note, as part of the migration of qunit jobs to Nodepool, I will probably get PHP Zend installed on Jessie.

Change 290480 had a related patch set uploaded (by Paladox):
Allow hhvm under -jessie and npm-node-4.3 tests

https://gerrit.wikimedia.org/r/290480

Change 290480 merged by jenkins-bot:
Allow hhvm under node-4.3 tests

https://gerrit.wikimedia.org/r/290480