Page MenuHomePhabricator

SRE quarterly goal: allow MediaWiki requests to be served by PHP7 alongside HHVM
Open, HighPublic

Description

We want to move away from HHVM, as T176370 states; this task is the tracking task of the first quarterly goal for the SRE team work for switching to PHP7.

Objectives are the following:

  • Install and configure php-fpm alongside HHVM on the application servers T201140
  • Refactor Apache configuration to allow selection of PHP engine based on HTTP request T196968
  • Stretch: Evaluate performance of PHP 7.0, 7.2 versus HHVM, and pick one.
  • Stretch: Refactor the puppet module "mediawiki" classes to role/profile structure.

Event Timeline

Joe created this task.Sep 10 2018, 12:56 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptSep 10 2018, 12:56 PM
Joe added a comment.Sep 10 2018, 12:58 PM

We're probably not going to get to the stretch goals, but it should be noted that MediaWiki is still not ready to run on PHP 7.2 itself, so we don't really have an alternative and we need to stick to 7.0 for now.

We're probably not going to get to the stretch goals, but it should be noted that MediaWiki is still not ready to run on PHP 7.2 itself, so we don't really have an alternative and we need to stick to 7.0 for now.

Based on T187147#4298721 and T176916#4326486 it seems like we will need some 7.1+ features. I think the main reason MediaWiki isn't ready for PHP 7.2 is mostly because it wasn't clear whether or not we were going to be targeting 7.2. If 7.2 is a stretch goal, I think we can start adding support in CI/vagrant/etc. to get it ready :)

Joe added a comment.Sep 13 2018, 6:29 AM

@Legoktm I'm ok delaying this into next quarter, or even the one after that; but I think php 7.2 is indeed a possibility; there are packages that should be easy to backport so if support in MediaWiki is there by next quarter, I'd be happy to work on this :)

MoritzMuehlenhoff triaged this task as High priority.Sep 25 2018, 9:46 AM