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

mysqli extension not loading #37

Description

@daveatpeta

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,

Activity

  1. daveatpeta commented on May 17, 2019

    @daveatpeta
    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

  2. eli007s commented on Jul 29, 2019

    @eli007s

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

  3. txase commented on Jul 29, 2019

    @txase
    Member

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

    Thanks!

  4. security-intel commented on Jul 30, 2019

    @security-intel

    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 join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions