Skip to content

command.php assumes that PHP_BINARY is always the PHP cli binary #216

Closed
@nathanjosiah

Description

@nathanjosiah

command.php assumes that if PHP_BINARY is set that it is always the PHP cli bin. When FPM is used, the bin will be php-fpm which isn't compatible with the PHP cli.

Preconditions

  1. Environment must be using PHP-FPM for PHP

Steps to reproduce

  1. Run any test that uses <magentoCli/>

Expected result

  1. The test executes the command correctly and proceeds.

Actual result

  1. The test will fail with a 403 error upon execution of the <magentoCli/> command.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions