Skip to content

CLI PHP Version is not the one which is expected #8425

@DavidLambauer

Description

@DavidLambauer

When I run php bin/mageno dev:test:run integration, an exception is thrown. The Exception Trace has says something like:

Next Magento\Framework\Exception\LocalizedException: Command returned non-zero exit code:
`/usr/local/Cellar/php70/7.0.15_8/bin/php -f '/Volumes/Data/Entw.../bin/magento' setup:uninstall -vvv -n --magento-init-params='MAGE_DIRS[etc][path]=/Volumes/Data/.../dev/tests/integration/tmp/sandbox-0-7090f5f4301a9cb51238b3c3395ab07e/etc&MAGE_DIRS[var]...

I am wondering, why the php binary under /usr/local/Cellar is used. The result of which php is php: aliased to /Applications/MAMP/bin/php/php7.0.13/bin/php -d memory_limit=-1

Why doesn't Magento uses the PHP Version of my choice?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions