Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extension Load Order issue in MacOS #417

Closed
lilgreenbird opened this issue Jun 1, 2017 · 2 comments
Closed

Extension Load Order issue in MacOS #417

lilgreenbird opened this issue Jun 1, 2017 · 2 comments
Labels

Comments

@lilgreenbird
Copy link
Contributor

The ordering of the extension may cause a problem in MacOS.
This can be reproduced by specifying the extension order in php.ini as follows:

   extension=php_sqlsrv_71_nts.so
   extension=php_pdo_sqlsrv_71_nts.so

With this order logging severity can not be set. ie the following has no effect:

   sqlsrv_configure(` 'LogSeverity', SQLSRV_LOG_SEVERITY_ALL );

but` if the order is reversed (ie pdo 1st then sqlsrv 2nd) then this is ok.

This is reproducible both using an INI file and dynamic loading and is seen in El Capitan and Sierra only. The ordering is not an issue in CentOS 7 or Ubuntu 15 or 16.

This is related to PHP bug #74293

@Hadis-Knj Hadis-Knj added the macOS label Jun 1, 2017
@meet-bhagdev
Copy link
Contributor

@lilgreenbird Good catch. This is definitely an issue and we are taking a look at it.

@ulvii
Copy link
Contributor

ulvii commented Jun 19, 2017

Fixed #438

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants