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

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

Open JoaoHCopetti opened this issue 1 year ago • 2 comments

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

sudo apt install 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.

JoaoHCopetti avatar Nov 24 '24 00:11 JoaoHCopetti

Hi @JoaoHamerski, I added your command and command for Fedora Linux here https://github.com/asdf-community/asdf-php/pull/184.

aicantar avatar Jan 02 '25 08:01 aicantar

There is no postgresql-libs package to install? As in, you don't need it?

OTonGitHub avatar May 21 '25 05:05 OTonGitHub