Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Request: asdf-re2c plugin and precompiled PHP binaries #180

Open
aep-sunlife opened this issue Sep 24, 2024 · 0 comments
Open

Request: asdf-re2c plugin and precompiled PHP binaries #180

aep-sunlife opened this issue Sep 24, 2024 · 0 comments

Comments

@aep-sunlife
Copy link

Provide environment information

Hi,

This is a feature request, not a bug report.

It's difficult to install PHP on some environments. Operating systems whose package managers are stuck at an old version of re2c, rootless environments, and ephemeral environments.

As a workaround, some ASDF users can manually download source code for re2c (they don't publish generic _binary_ archives), and follow the re2c documentation to compile and install re2c.

Can we please publish an asdf-re2c plugin, in order to make it easier to build and install PHP across more environments?

--

In fact, it would be much simpler if asdf-php gave users the option of installing PHP from precompiled binaries. That way, less compilation is required on the target environment. This matches moovweb/gvm `-B` packages and Homebrew casks.

Perhaps we could introduce an environment variable that controls whether PHP is installed from source vs precompiled binaries. I don't mind if the default remains building from source. But it's helpful to provide both options to as many platforms as possible.

To Reproduce

NA

Describe the Bug

NA

Expected Behaviour

NA

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant