Skip to content

Add support for custom PHP install directories #31

@manticorp

Description

@manticorp

This library assumes a user is using some sort of

I personally use the excellent Powershell PHP manager:

https://github.com/mlocati/powershell-phpmanager

and have multiple PHP versions installed in multiple directories, e.g.:

C:/PHP7324
C:/PHP7333
C:/PHP7433
C:/PHP8410
C:/PHP8413

etc

However, there seems to be absolutely no way to manually specify PHP installations?

Can this be fixed? Maybe a user ```.php-versions.json`` file like so?

[
   {
        "path": "C:\\PHP8410",
        "version": "8.4.10",
        "threadsafe": 1,
        "architecture": "x64"
   },
   {
        "path": "C:\\PHP8410_x86",
        "version": "8.4.10",
        "threadsafe": 1,
        "architecture": "x86"
   },
   {
        "path": "C:\\PHP7324",
        "version": "7.3.24",
        "threadsafe": 1,
        "architecture": "x64"
   }
]

Or something?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions