Hi,
cargo php install supports reading the location of php-config from the PHP_CONFIG environment variable.
However, the build script does not honour this variable and always search for php-config in the PATH.
This can result in build conflicts when the php-config binary does not match the php binary.