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

soap extension is not installed despite configuration #2682

Closed
r-yeganeh opened this issue Aug 15, 2020 · 5 comments
Closed

soap extension is not installed despite configuration #2682

r-yeganeh opened this issue Aug 15, 2020 · 5 comments

Comments

@r-yeganeh
Copy link

Description:

I'm trying to enable and use soap but it is not recognized by the system and I'm getting Class 'SoapClient' not found while using it.

Expected Behavior:

Get the soap work and enabled and get true when running extension_loaded('soap') by PHP.

Context information:

Output of docker version

Docker version 19.03.6, build 369ce74a3c

Output of docker-compose version

docker-compose version 1.17.1, build unknown

System info: Mac, Windows or Linux. Include which disto/version

Ubuntu 18.04.5 LTS

Steps to reproduce the issue:

In all php-fpm/phpX.ini files I uncommented this line:

extension=php_soap.dll // uncommented

In php-fpm/Dokcerfile and workspace/Dockerfile I set this line to true:

ARG INSTALL_SOAP=true

And in .env file I got these lines:

WORKSPACE_INSTALL_SOAP=true
PHP_FPM_INSTALL_SOAP=true

I build with command:

docker-compose build --no-cache

@millman2394
Copy link

same issue

@r-yeganeh
Copy link
Author

@millman2394 I figured out that setting ARG INSTALL_SOAP=false in php-fpm/Dockerfile and keeping it true in workspace/Dockerfile solves the issue. However, I do not clearly know why this is happening.

@millman2394
Copy link

@r-yeganeh

It's a weird isssue for me to. I'm making a Craft CMS project. Initially when I loaded the page, I got the SOAP error. But then after I went to the dashboard, it went away.

I'll check out the Dockerfile next time I start up my environment. I have all SOAP enabled in my .env file.

Weird.

@stale
Copy link

stale bot commented Nov 17, 2020

Hi 👋 this issue has been automatically marked as stale 📌 because it has not had recent activity 😴. It will be closed if no further activity occurs. Thank you for your contributions ❤️.

@stale stale bot added the Stale label Nov 17, 2020
@stale
Copy link

stale bot commented Dec 9, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Dec 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants