Skip to content
New issue

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

php5.6 install swoole-2.0.11 get Segmentation fault #2379

Closed
bestlong opened this issue Feb 22, 2019 · 2 comments
Closed

php5.6 install swoole-2.0.11 get Segmentation fault #2379

bestlong opened this issue Feb 22, 2019 · 2 comments

Comments

@bestlong
Copy link

Dockerfile:

FROM phusion/baseimage:latest

ENV DEBIAN_FRONTEND noninteractive

RUN set -xe && apt-get update && apt-get -y install software-properties-common
RUN add-apt-repository -y ppa:ondrej/php && apt-get update
RUN apt-get install -y php5.6-common php5.6-xml php5.6-dev

RUN pecl channel-update pecl.php.net

RUN pecl install swoole-2.0.11
RUN echo "extension=swoole.so" >> /etc/php/5.6/mods-available/swoole.ini
RUN ln -s /etc/php/5.6/mods-available/swoole.ini /etc/php/5.6/cli/conf.d/20-swoole.ini
RUN set -xe && php -m | grep -q 'swoole'

error info:

Step 10/10 : RUN set -xe && php -m | grep -q 'swoole'
 ---> Running in 59fbd32e3dba
+ php -m
+ grep -q swoole
Segmentation fault
The command '/bin/sh -c set -xe && php -m | grep -q 'swoole'' returned a non-zero code: 1
~/projects/docker/laradock$
@twose
Copy link
Member

twose commented Feb 23, 2019

Coroutine version no longer supports PHP5

@bestlong
Copy link
Author

Okay, i see. downgrade to 2.0.10.

bestlong added a commit to bestlong/laradock that referenced this issue Mar 22, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants