We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ENV:
RESOLVED Reason: attribute: \PDO::ATTR_PERSISTENT = TRUE!!! Please update docs! Thanks
Swoole version: 22.1.0 and 22.1.2 Maybe it's significant: Runtime::enableCoroutine(true, Runtime::HOOK_TCP);
Runtime::enableCoroutine(true, Runtime::HOOK_TCP);
FROM php:8.3-cli-alpine as builder RUN apk add --no-cache $PHPIZE_DEPS \ openssl-dev \ curl-dev \ c-ares-dev \ linux-headers \ musl-dev \ && docker-php-ext-install sockets curl pdo pdo_mysql \ && pecl install -D 'enable-sockets="yes" enable-openssl="yes" enable-http2="yes" enable-mysqlnd="yes" enable-hook-curl="yes" enable-cares="yes" with-postgres="no"' openswoole \ && echo 'extension=openswoole.so' > /usr/local/etc/php/conf.d/zz_openswoole.ini
Code:
try { echo 'connectionAttempt...'."\n"; $this->dbh = new \PDO($this->dsn, $this->username, $this->password, $this->options); echo 'connectionAttempt...2'."\n"; } catch(\PDOException $exception) { echo 'connectionAttempt: Exception'."\n";
Output:
Request: /heartbeat connectionAttempt... zend_mm_heap corrupted [2023-12-11 20:32:07 $7787.0] WARNING Server::check_worker_exit_status(): worker(pid=7790, id=0) abnormal exit, status=0, signal=6 Worker 0 started
The text was updated successfully, but these errors were encountered:
No branches or pull requests
ENV:
RESOLVED
Reason: attribute: \PDO::ATTR_PERSISTENT = TRUE!!!
Please update docs!
Thanks
Swoole version: 22.1.0 and 22.1.2
Maybe it's significant:
Runtime::enableCoroutine(true, Runtime::HOOK_TCP);
Code:
Output:
The text was updated successfully, but these errors were encountered: