Skip to content

Enable php extensions for build and runtime separately  #1102

@zd-dalibor

Description

@zd-dalibor

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions