Skip to content

Install PHP with parameters / ZTS #268

Description

@alissonlinneker

How to install PHP last version with params?

Example:

sudo pkgin install php-7.4.6 --enable-maintainer-zts --with-tsrm-pthreads

I need ZTS in PHP. Is there any other way?

Activity

  1. jperkin commented on Jun 4, 2020

    @jperkin
    Collaborator

    You can only use pkgin to install binary packages, it doesn't rebuild from source. You'll need to provision a pkgbuild image and build your own binaries which include those options.

    The general overview is documented here:

    https://github.com/joyent/pkgsrc/wiki/pkgdev:setup
    https://github.com/joyent/pkgsrc/wiki/pkgdev:building

    For your request you can use the existing maintainer-zts option for the PHP packages, but there's no tsrm-pthreads option so you'll need to add that to CONFIGURE_ARGS manually.

  2. self-assigned this
    on Jun 4, 2020
  3. added a commit that references this issue on Jul 23, 2020
  4. added a commit that references this issue on Aug 17, 2020
  5. added a commit that references this issue on Sep 9, 2020
  6. added a commit that references this issue on Jan 13, 2021
  7. added a commit that references this issue on Jul 1, 2021
  8. added a commit that references this issue on Aug 23, 2021
  9. added a commit that references this issue on Feb 5, 2022
  10. 63 remaining items

  11. added a commit that references this issue on May 24, 2026
  12. added a commit that references this issue on Jun 1, 2026
  13. added a commit that references this issue on Sep 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

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