Last modified: 2014-11-13 01:53:41 UTC
Trusty's php5-common provides the virtual package phpapi-20121212 which is required by many dependent packages like php5-imagick & Co. WMF's php5-common doesn't provide it, causing those dependent packages to not be installed and PHP not working on tools-trusty: | Failed loading opcache.so: opcache.so: cannot open shared object file: No such file or directory | Failed loading xdebug.so: xdebug.so: cannot open shared object file: No such file or directory | PHP Warning: PHP Startup: Unable to load dynamic library | /usr/lib/php5/20090626/imagick.so' - | /usr/lib/php5/20090626/imagick.so: cannot open shared object | file: No such file or directory in Unknown on line 0 | PHP Warning: PHP Startup: Unable to load dynamic library | /usr/lib/php5/20090626/json.so' - | /usr/lib/php5/20090626/json.so: cannot open shared object | file: No such file or directory in Unknown on line 0 | PHP Warning: PHP Startup: Unable to load dynamic library | /usr/lib/php5/20090626/redis.so' - | /usr/lib/php5/20090626/redis.so: cannot open shared object | file: No such file or directory in Unknown on line 0 | [...] I tried looking up who baked WMF's version, but it doesn't seem to be kept in operations/debs/*.
Where is this problem exposed / how to reproduce? Where would you use php5-common-5.3.10-1ubuntu3.15+wmf1 instead of the default package? Is this ticket related to Wikimedia Labs?
This problem was on Tools' Labs instance tools-trusty. Labs instances prefer WMF repository over the Ubuntu ones. It appears as if in the meantime someone removed that package from the WMF repository, so Puppet installed Ubuntu's 5.5.9+dfsg-1ubuntu4.5 and everything is okay now.