Skip to content

Instantly share code, notes, and snippets.

@sfinktah
Created September 10, 2023 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sfinktah/09cd959d40d0b295b268db3bc65d01a6 to your computer and use it in GitHub Desktop.
Save sfinktah/09cd959d40d0b295b268db3bc65d01a6 to your computer and use it in GitHub Desktop.
Building PHP 8.1 on Centos 8.5
sudo dnf install autoconf automake binutils bison curl-devel freetype-devel gcc \
gcc-c++ git glibc-devel libjpeg-devel libpng-devel libtool libwebp-devel \
libxml2-devel libzip-devel make openssl-devel sqlite-devel
sudo yum install re2c oniguruma-devel --enablerepo=powertools
git clone https://github.com/php/php-src.git --branch=PHP-8.1.23
cd php-src
./buildconf
make -j 4
sudo make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment