Re: [Wikitech-l] phpunit: "Extension mysql is required"?

2016-07-13 Thread Legoktm
Hi, On 07/13/2016 08:19 AM, Daniel Barrett wrote: > @requires extension mysql > > and this extension is gone in PHP 7.0. The old "mysql" extension was removed in favor of the "mysqli" extension. MediaWiki should automatically use mysqli when it's available. -- Legoktm

Re: [Wikitech-l] phpunit: "Extension mysql is required"?

2016-07-13 Thread Daniel Barrett
Never mind - solved it. I discovered that one of my phpunit test files contains @requires extension mysql and this extension is gone in PHP 7.0. DanB ___ Wikitech-l mailing list Wikitech-l@lists.wikimedia.org

[Wikitech-l] phpunit: "Extension mysql is required"?

2016-07-13 Thread Daniel Barrett
[Tried mediawiki-l, now trying wikitech-l] What does it mean when I run MediaWiki unit tests on my server, and phpunit skips some tests with this error: Extension mysql is required This is on a fully working MediaWiki server with mySQL installed, running on Ubuntu 16.04. $ mysql --version