Open atrandafir opened 4 months ago
That error message looks like the 6.0.20 release .phar
file was compiled with dependencies (i.e. symfony/process
) that are "too new" and don't support PHP 7.x anymore.
I don't know the exact build process, but my guess is that it was done on a system that had PHP 8.X installed, so Composer thought it could fetch modern dependency versions, which were then baked into the release.
Well basically I've got
PHP 7.4.33
running.I've downloaded the phar file from https://phar.phpbu.de/phpbu-6.0.20.phar that apparently is compatible with my php version.
Then when I run it:
But the same phpbu version installed with composer as a dependency inside my php application, it works!
So why composer installed version is working but the downloaded phar doesn't?