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

Enable php extensions for build and runtime separately #1102

Open
zd-dalibor opened this issue Jan 3, 2025 · 0 comments
Open

Enable php extensions for build and runtime separately #1102

zd-dalibor opened this issue Jan 3, 2025 · 0 comments

Comments

@zd-dalibor
Copy link

I notice that openssl extension is not enabled in runtime image.
I fallow the documentation and use .php.ini.d to enable extension explicitly.
Now, my application works fine, but I notice some warning messages during build process:

Paketo Buildpack for Composer Install 0.3.28
  Running 'composer check-platform-reqs'
      PHP Warning:  Module "openssl" is already loaded in Unknown on line 0
      PHP Warning:  Module "openssl" is already loaded in Unknown on line 0

It seems that openssl extension is already enabled during build phase.

Describe the Enhancement

Do we have an option to enable different set of php extensions for build and runtime?

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

1 participant