On Sun, Jul 19, 2015 at 4:35 AM, bawolff <bawolff+wn(a)gmail.com> wrote:
According to our docs/internal checks, our min php
version is 5.3.3.
However as of 6e283d394f31, MediaWiki doesn't work with php 5.3.3 (You
aren't allowed to implement an interface using an abstract method, on
that version of PHP so you get "Fatal error: Can't inherit abstract
function IDatabase::getType() (previously declared abstract in
DatabaseBase) in git/includes/db/Database.php on line 32").
Is it time we up'd our version requirements (And does anyone know if
that would affect lots of third parties?) Or should that change be
reverted?
Some WMF production hosts are still on PHP 5.3.10 so as Tim pointed
out last spring [0] we shouldn't drop 5.3 support until after the
entirety of the WMF server fleet are all switched over to HHVM or at
least a newer version of PHP5. Aaron's patch probably needs to be
either reverted or amended to remove the incompatible change.
I'd really like us to switch to PHP 5.5 as the minimum supported
version sooner rather than later but as I once heard on irc, it would
be a bit inconvenient if Wikimedia could not run MediaWiki.
[0]:
http://www.gossamer-threads.com/lists/wiki/wikitech/436441#436441
--
Bryan Davis Wikimedia Foundation <bd808(a)wikimedia.org>
[[m:User:BDavis_(WMF)]] Sr Software Engineer Boise, ID USA
irc: bd808 v:415.839.6885 x6855