Page MenuHomePhabricator

Switch wikitech to php7
Closed, DuplicatePublic

Description

Update puppet roles for wikitech to provision PHP 7.2 and switch from HHVM to PHP 7.2 as the runtime for the site.


In T195392 we are migrating all mediawiki maintenance crons to PHP 7.2.

One of them is cron { 'tor_exit_node_update': which also runs on labweb1001/1002. Trying to convert it to PHP7.2 lead to failure and cron spam because labweb hosts don't have PHP 7.2.

They will need to be upgraded. This means Wikitech needs to move to it.

Event Timeline

bd808 created this task.Mar 18 2019, 10:17 PM
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 18 2019, 10:17 PM
Bstorm added a subscriber: Bstorm.Mar 25 2019, 3:55 PM

A cron of PHP=php7.2 /usr/local/bin/mwscript extensions/TorBlock/maintenance/loadExitNodes.php --wiki=labswiki --force > /dev/null
is failing on /usr/local/bin/mwscript: line 25: php7.2: command not found at the moment

Should this task be merged into T223393?