Skip to content

Commit

Permalink
fix: fixed swoole extension that gets the SQLSTATE[08006] error (#715)
Browse files Browse the repository at this point in the history
* 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>
  • Loading branch information
pedrovian4 and печа committed Sep 3, 2024
1 parent bdb3510 commit b4af38e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion runtimes/8.3/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,10 @@ RUN apt-get update \
php8.3-xml php8.3-zip php8.3-bcmath php8.3-soap \
php8.3-intl php8.3-readline \
php8.3-ldap \
php8.3-msgpack php8.3-igbinary php8.3-redis php8.3-swoole \
php8.3-msgpack php8.3-igbinary php8.3-redis \
php8.3-memcached php8.3-pcov php8.3-imagick php8.3-xdebug \
&& pecl install swoole-5.1.2 \
&& echo "extension=swoole.so" > /etc/php/8.3/cli/conf.d/20-swoole.ini
&& curl -sLS https://getcomposer.org/installer | php -- --install-dir=/usr/bin/ --filename=composer \
&& curl -fsSL https://deb.nodesource.com/gpgkey/nodesource-repo.gpg.key | gpg --dearmor -o /etc/apt/keyrings/nodesource.gpg \
&& 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 \
Expand Down

0 comments on commit b4af38e

Please sign in to comment.