I have a production server that is currently running Ubuntu 14.04 with PHP 5.5.9+dfsg-1ubuntu4, and it has a bug. I found a patch and I would like to verify it by building the same PHP version and options/extensions from source with the patch applied.
I have cloned the repository from http://git.php.net/, checked out tag php-5.5.9
, created a new branch, applied the patch, installed all the build dependencies, and created the configure
script with buildconf
Now I want to build it configured with all the same options and extensions that are present on my production server. At the very least, I know that I am going to need to run:
./configure --with-pdo-odbc=unixODBC
But how do I detect all the other options that were configured when PHP was built on my production server?