Skip to content
This repository was archived by the owner on Sep 8, 2021. It is now read-only.

mysqli extension not loading #37

Closed
daveatpeta opened this issue May 17, 2019 · 4 comments
Closed

mysqli extension not loading #37

daveatpeta opened this issue May 17, 2019 · 4 comments

Comments

@daveatpeta
Copy link

I'm using version 7.3 and tried adding mysqli.so extension to php.ini, but it simply won't load.
On the other hand, pdo_mysql.so is loading correctly.

Any idea what may be wrong?

Regards,

@daveatpeta
Copy link
Author

Figured it out. Sorry.

Extensions have to be loaded in this order (not the order on the README file of this project).

extension=mysqlnd.so
extension=mysqli.so

@eli007s
Copy link

eli007s commented Jul 29, 2019

how do you load extensions. where do you make those changes?

@txase
Copy link
Member

txase commented Jul 29, 2019

@eli007s You add a php.ini file to the root of your Lambda function source code with extension declarations like @daveatpeta suggested.

Thanks!

@silvian-io
Copy link

Figured it out. Sorry.

Extensions have to be loaded in this order (not the order on the README file of this project).

extension=mysqlnd.so
extension=mysqli.so

Life saver!

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

No branches or pull requests

4 participants