Thanks for taking your time to report this issue and help making Ubuntu better.
I looked into this and have found the following: Starting with Ubuntu 14.10, php-text-template depends on php5-common instead of php5 [1]. So that dependency is fixed. Though I attempted to install phpunit on Ubuntu 14.10 and it would still install apache2 alongside. Skimmed over few of the other dependencies and looks like at least php-file-iterator has a dependency on php5 [2]. There might be others too. However, php-file-iterator has been changed to depend on php5-common on Ubuntu Vivid [3]. So I checked with Ubuntu Vivid, and there it is possible to install phpunit without getting apache2 at the same time. (It is still listed among suggested packages, but those are optional.) So, in summary, this issue is fixed in newer releases of Ubuntu which makes it Fixed Released. In some cases it is possible to apply the fix for older releases but that seems to be harder here as it spans multiple packages and newer versions of them. [1] http://packages.ubuntu.com/utopic/php-text-template [2] http://packages.ubuntu.com/utopic/php-file-iterator [3] http://packages.ubuntu.com/vivid/php-file-iterator ** Tags added: trusty utopic -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1315678 Title: PHPUnit depends on Apache To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/phpunit/+bug/1315678/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs