{"action":"created","issue":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/6442","labels_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6442/labels{/name}","comments_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6442/comments","events_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6442/events","html_url":"https://github.com/joomla/joomla-cms/pull/6442","id":61847718,"number":6442,"title":"Switch to mysqli driver if mysql selected in PHP 7","user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/joomla/joomla-cms/labels/PR-staging","name":"PR-staging","color":"c7def8"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2015-03-15T15:47:06Z","updated_at":"2015-03-16T15:23:35Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/joomla/joomla-cms/pulls/6442","html_url":"https://github.com/joomla/joomla-cms/pull/6442","diff_url":"https://github.com/joomla/joomla-cms/pull/6442.diff","patch_url":"https://github.com/joomla/joomla-cms/pull/6442.patch"},"body":"This updates `JDatabaseDriver::getInstance()` to detect if the requested driver is `mysql` which uses the removed `ext/mysql` PHP extension in PHP 7 and changes the driver option to `mysqli` in this environment.  A message is logged to the deprecation logger so that a site admin can pick up on the error without disclosing any info to end users.\r\n\r\nNote that this is not a guaranteed failsafe; if for whatever reason an environment doesn't have the `ext/mysqli` PHP extension this will fail."},"comment":{"url":"https://api.github.com/repos/joomla/joomla-cms/issues/comments/81733112","html_url":"https://github.com/joomla/joomla-cms/pull/6442#issuecomment-81733112","issue_url":"https://api.github.com/repos/joomla/joomla-cms/issues/6442","id":81733112,"user":{"login":"mbabker","id":368545,"avatar_url":"https://avatars.githubusercontent.com/u/368545?v=3","gravatar_id":"","url":"https://api.github.com/users/mbabker","html_url":"https://github.com/mbabker","followers_url":"https://api.github.com/users/mbabker/followers","following_url":"https://api.github.com/users/mbabker/following{/other_user}","gists_url":"https://api.github.com/users/mbabker/gists{/gist_id}","starred_url":"https://api.github.com/users/mbabker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mbabker/subscriptions","organizations_url":"https://api.github.com/users/mbabker/orgs","repos_url":"https://api.github.com/users/mbabker/repos","events_url":"https://api.github.com/users/mbabker/events{/privacy}","received_events_url":"https://api.github.com/users/mbabker/received_events","type":"User","site_admin":false},"created_at":"2015-03-16T15:23:35Z","updated_at":"2015-03-16T15:23:35Z","body":"PDO isn't installed as commonly as the mysqli extension."}}