Skip to content

Conversation

oleksii-svyrydenko
Copy link

@oleksii-svyrydenko oleksii-svyrydenko commented Aug 13, 2025

On Windows under WSL2 (you may use detailed instructions on https://www.zend.com/resources/php-extensions/setting-up-your-php-build-environment):

sudo apt-get install build-essential gdb autoconf automake bison flex re2c gdb \
    libtool make pkgconf valgrind git libxml2-dev libsqlite3-dev

git clone https://github.com/php/php-src.git

cd php-src && git checkout php-8.4.11
./buildconf --force
./configure --enable-debug \
    --prefix=$HOME/php-bin/DEBUG \
    --with-config-file-path=$HOME/php-bin/DEBUG/etc

make -j$(getconf _NPROCESSORS_ONLN)
make install

export PATH=~/php-bin/DEBUG/bin:$PATH

cd ../php-protobuf-php8 && make -j$(getconf _NPROCESSORS_ONLN) && make test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant