Skip to content

broken setup of any extensions causes wrong validation of php binary #273

@giorgiopogliani

Description

@giorgiopogliani

If have a wrong reference to a php extension the warning cause pie to discard the php binary as invalid.

For example:

PHP Warning:  PHP Startup: Unable to load dynamic library 'redis' (tried: /opt/homebrew/lib/php/pecl/20240924/redis (dlopen(/opt/homebrew/lib/php/pecl/20240924/redis, 0x0009): [...] in Unknown on line 0
In InvalidPhpBinaryPath.php line 31:

  The php binary at "/opt/homebrew/Cellar/php/8.4.8/bin/php" does not appear to be a PHP binary

Metadata

Metadata

Assignees

Labels

maintainer investigatingThis ticket is being investigated by maintainers. Please check with us before contributing PRs etc!

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions