asdf-community / asdf-php

PHP plugin for the asdf version manager
https://github.com/asdf-vm/asdf
Apache License 2.0
223 stars 102 forks source link

These are the packages needed to compile PHP on Debian Trixie (testing) #182

Open JoaoHamerski opened 5 days ago

JoaoHamerski commented 5 days ago

For anyone struggling with error after error, you need a few dependencies to install even using asdf, the packages listed in the workflow.yml file of this repository is for homebrew.

If you want to install the same dependencies for Debian 13 (Debian 12 testing) this is the list of needed packages, installed via apt

autoconf
pkg-config
gcc
bison
re2c
libxml2-dev
libssl-dev
sqlite3
libsqlite3-dev
zlib1g-dev
libcurl4-openssl-dev
libgd-dev
build-essential
libonig-dev
libpq-dev
libreadline-dev
libzip-dev

I'd suggest to add this on README.md for more distros. For those who don't want to use homebrew.