Skip to content

swoole hooks mysqli, pgsql and sqlite in shared extensions #801

Open
@henderkes

Description

@henderkes

I have no idea how to get them working correctly.

I tried

        $arg .= $this->builder->getExt('mysqli') ?
            ' --with-mysqlnd' :
            '';
        $pgsql = $this->builder->getExt('pgsql');
        $arg .= $pgsql ?
            ' --enable-swoole-pgsql'.
            ' LIBPQ_CFLAGS="-I' . BUILD_ROOT_PATH . '" LIBPQ_LIBS="' . $pgsql->getLibFilesString() . '"' :
            '';

But
buildroot/bin/php -d "extension=/home/m/static-php-cli/buildroot/modules/swoole.so" -r "echo class_exists('OpenSwoole\Coroutine\MySQL') ? 'ok' : 'no';" -> no

Metadata

Metadata

Assignees

No one assigned

    Labels

    new featureNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions