Skip to content

Commit b4af38e

Browse files
pedrovian4печа
and
печа
authored
fix: fixed swoole extension that gets the SQLSTATE[08006] error (#715)
* fix: fixed swoole extension that gets the SQLSTATE[08006] error Moved the swoole instalation to pecl instead using the ppa * fix: Enables swoole on .ini --------- Co-authored-by: печа <pedrovianaasking@gmai.com>
1 parent bdb3510 commit b4af38e

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

runtimes/8.3/Dockerfile

+3-1
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,10 @@ RUN apt-get update \
2929
php8.3-xml php8.3-zip php8.3-bcmath php8.3-soap \
3030
php8.3-intl php8.3-readline \
3131
php8.3-ldap \
32-
php8.3-msgpack php8.3-igbinary php8.3-redis php8.3-swoole \
32+
php8.3-msgpack php8.3-igbinary php8.3-redis \
3333
php8.3-memcached php8.3-pcov php8.3-imagick php8.3-xdebug \
34+
&& pecl install swoole-5.1.2 \
35+
&& echo "extension=swoole.so" > /etc/php/8.3/cli/conf.d/20-swoole.ini
3436
&& curl -sLS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer \
3537
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
3638
&& echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.com/node_$NODE_VERSION.x nodistro main" > /etc/apt/sources.list.d/nodesource.list \

0 commit comments

Comments
 (0)