Move "options(MYSQLI_OPT_LOCAL_INFILE, ...)" call after "real_connect()"
Summary: Fixes T13238. PHP overwrites this setting inside "real_connect()", so we need to apply it after connecting.
Test Plan:
- Locally, tested that "options()" after "real_connect()" works as expected.
- See also PHP upstream bug report: https://bugs.php.net/bug.php?id=77496
Reviewers: amckinley
Reviewed By: amckinley
Maniphest Tasks: T13238
Differential Revision: https://secure.phabricator.com/D20004