I'm running Ubuntu 14.04 LTS 64 bit. What I would really love to do is sudo apt-get install libapache2-mod-php5 but compile PHP with --enable-maintainer-zts so I could later install pthreads with pecl install pthreads. Sadly, I understand that it is not possible. I know that the easiest way is to recompile PHP together with apache support and zts. However I really like the way the standard Ubuntu PHP package is configured and I am used to the paths for CLI php.ini config, Apache php.ini config and other paths for modules and files that this Ubuntu package defines. So I just want to change the package source a little bit and install it.
# Get the stuff necessary to build the package
sudo apt-get build-dep php5-common
# Get the package source
sudo apt-get source php5-common
At this point I am getting sources not for the php5-common package but the whole php5 package. If I would sudo make && make install at this point, would it mean that I am installing a lot of unnecessary stuff?