Skip to content

PHP version pinned for WP-CLI #16

@julesfell

Description

@julesfell

A problem has been encountered here:

https://github.com/BeAPI/wp-cli-site-duplicator-command/blob/master/classes/command.php#L289-L301

Using WP_CLI::runcommand( $_command ) does not allow you to choose which version of PHP to use for running WP-CLI.

Sometimes the command executed generates an error due to an incorrect version of PHP set by default for wp <command>. It could be useful to be able to decide which version of PHP to use, in order to ensure that the WP-CLI utility runs.

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