Skip to content

Work around dl(mysqli) issue with OPcache on AppVeyor - #9557

Closed
cmb69 wants to merge 1 commit into
php:PHP-8.1from
cmb69:PHP-8.1
Closed

cmb69 wants to merge 1 commit into
php:PHP-8.1from
cmb69:PHP-8.1

Conversation

@cmb69

@cmb69 cmb69 commented Sep 16, 2022

Copy link
Copy Markdown
Member

As described in #8508, if OPcache is enabled, ext/mysqli can't be dl()'d; we work around that by loading the extension on startup.

As described in php#8508, if OPcache is enabled, ext/mysqli can't be
dl()'d; we work around that by loading the extension on startup.
@mvorisek

Copy link
Copy Markdown
Contributor

@cmb69

cmb69 commented Sep 16, 2022

Copy link
Copy Markdown
Member Author

@mvorisek, I'm working towards that PR. :) In this case there shouldn't be a problem, because extension_loaded() is called. If the extension is already loaded, and then dl()'d again, there is a crash on unloading. I'm checking that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants