Compiling PHP 5.6 on Fedora
Posted: March 15, 2017Here's the dependencies and configuration I use to compile PHP 5.6 on Fedora.
First Download PHP 5.6 to `/usr/local/src` and extract it.
Next, install all the devel libraries required to configure and compile PHP:
dnf install libxml2-devel openssl-devel bzip2-devel \ libcurl-devel libjpeg-turbo-devel libpng-devel gmp-devel \ libmcrypt-devel libtidy-devel libxslt-devel
Now create a file named `configure.sh` in the PHP source directory and add the contents below: