Page MenuHomePhabricator

mysql-connect issues during ErfgoedBot run
Open, Needs TriagePublic


the main issue seems to be calls to mysql-connect which doesn't exist in PHP 7.0. This is likely related to {T216364}where we spotted similar things.

Event Timeline

JeanFred created this task.Sun, Aug 25, 9:02 AM

The reason is that the bin script is executed on a host which only has PHP 7. The API itself runs in a container with PHP 5.6, so is not affected.

Change 532229 had a related patch set uploaded (by Jean-Frédéric; owner: Jean-Frédéric):
[labs/tools/heritage@master] Switch API to use PHP 7.2

Upgrading to PHP 7.2 is somewhat overkill just to fix this… but oh well…