Skip to content

多个php和composer版本共存的环境下不能正确使用当前环境的版本 #26

@van23qf

Description

@van23qf

开发环境会有php7,php8等多个php版本,也会有composer1、composer2多个版本,这个时候如果使用php81 bin/hyperf.php server:watch命令就会报错,使用了系统默认的php版本,而不是当前执行的php版本

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions