I asked this on stackoverflow, but I think it was the wrong audience/forum
Recently installed php5.3.22 on Ubuntu 12.04 from an excellent install script. This works perfectly.
The issue I have is that I now want to also install phpunit. When i try apt-get install phpunit - It wants to also include a bunch of dependencies such as php5-common, etc. (I suspect apt-get does not already know that I have php5.3.22 installed and wants to install php5.x.x - since it is the distro release version.)
I do not want to conflict/overwrite my (already tuned) php5.3.22 install.
I thought about using a php phar file to run php unit. but first want to know if anyone knows simple step by step instructions to inform apt-get about the existing php5.3.22 install so that I can use apt-get in the future to configure php for upgrades, add modules, etc.
There are many questions about installing older versions of software on Ubuntu, but I am looking specifically to inform the package management system about which is the installed current version.