Skip to content

Unable to specify/add php modules for the "cli" #1157

@x86fantini

Description

@x86fantini

Hi, i am working to port a php application in my Cloudfoundry, using :

buildpack: https://github.com/cloudfoundry/php-buildpack/releases/download/v4.6.26/php-buildpack-cflinuxfs4-v4.6.26.zip stack: cflinuxfs4

the compose.json requires "fileinfo" and "gd" and even if the modules are specified as per documentation:

.bp-config/php/php.ini.d/custom.ini

extension=mysqli.so extension=redis.so extension=curl.so extension=gd.so extension=xsl.so extension=mbstring.so extension=soap.so extension=openssl.so extension=fileinfo.so extension=imagick.so zend_extension=opcache.so

if i check the extension via browser (so using the stack apache -> phpfpm) i can see the extensions, but those are not loaded in the CLI so the composer install always fails.

any chances i can specifiy php extension in the CLI during build?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions