asdf-community / asdf-community/asdf-php

[question] ZTS version of php

Open
#174 3 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
256
Forks
117
PR merge metrics
No merged PRs in 30d

Description

Is it possible to get PHP-ZTS (Zend Thread Safe, compilation flag, allows installing `parallel` extension) with asdf-php? Even if this would mean I need to locally build it (just want to have asdf goodies such as .tool-version file).

I need it when working with [react php](https://github.com/reactphp/reactphp) with [parallel library](https://github.com/reactphp-parallel/reactphp-parallel) - the parallel extension cannot work with non-thread safe build of PHP.

Note: im not asking for default to be ZTS. Most people don't need ZTS and it comes at performence cost

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reviewing the asdf-php plugin's PHP build entry points and how .tool-version is handled. Check whether a local ZTS build can be represented without changing the default non-thread-safe build; done means a repeatable ZTS installation works with parallel while ordinary installs remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.