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

Issues With System Extensions #26

Open
nickpoulos opened this issue Nov 1, 2022 · 1 comment
Open

Issues With System Extensions #26

nickpoulos opened this issue Nov 1, 2022 · 1 comment

Comments

@nickpoulos
Copy link

I am not sure if this is an issue with the Docker image PHP config or something weird with building on Mac M1s.

It seems Composer is unable to find the PHP extensions for tokenizer and XM on the system.

image

However when I check things out via the php.ini file, those extensions both appear to be installed an enabled.

image

My Dockerfile is pretty bare-bones:

FROM quay.io/renokico/laravel-base:octane-1.3-4.8-php8.1-alpine

## Add the wait script to the image
ADD https://github.com/ufoscout/docker-compose-wait/releases/download/2.9.0/wait /wait
RUN chmod +x /wait

COPY ./src /var/www/html

RUN mkdir -p /var/www/html/storage/logs/ && \
    chown -R www-data:www-data /var/www/html

# Install production dependencies
RUN apk add --no-cache \
bash \
less

WORKDIR /var/www/html

ENTRYPOINT ["php", "-d", "variables_order=EGPCS", "artisan", "octane:start", "--server=swoole", "--host=0.0.0.0", "--port=8000"]

EXPOSE 8000

My Laravel installation is very new as well.

"laravel/framework": "^9.19",
"laravel/octane": "^1.3",

Any thoughts or ideas you might have are greatly appreciated. I can't seem to figure this one out.

Thanks

@devrushit
Copy link

same issue for me, i don't get the point with this error, because the module is installed...

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