asdf-php icon indicating copy to clipboard operation
asdf-php copied to clipboard

Request: asdf-re2c plugin and precompiled PHP binaries

Open aep-sunlife opened this issue 1 year ago • 1 comments

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

aep-sunlife avatar Sep 24 '24 16:09 aep-sunlife

Plus this man, this repo kinda stale.. Even mise depends on this plugin..

OTonGitHub avatar May 21 '25 05:05 OTonGitHub