Skip to content

Fix GH-12297: PHP Startup: Invalid library (maybe not a PHP library) … #12299

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

Closed
wants to merge 1 commit into from

Conversation

nielsdos
Copy link
Member

…'mysqlnd.so' in Unknown on line

On some configurations, the COMPILE_DL_MYSQLND must come from config.h. If it isn't set, the get_module function won't be exposed, resulting in a failure when trying to load the library.
It's the same issue ext/fileinfo had a while back that was fixed in b0ba368.

…y) 'mysqlnd.so' in Unknown on line

On some configurations, the COMPILE_DL_MYSQLND must come from config.h.
If it isn't set, the get_module function won't be exposed, resulting in
a failure when trying to load the library.
It's the same issue ext/fileinfo had a while back that was fixed in
b0ba368.
@ganl
Copy link

ganl commented Sep 26, 2023

It works.

@nielsdos
Copy link
Member Author

Thanks for checking @ganl

@nielsdos nielsdos closed this in 14fc3d1 Sep 26, 2023
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.

PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line
3 participants