List installed PHP packages on Ubuntu and Debian
If you have ever found yourself wondering what PHP packages are installed on a Debian or Ubuntu server you can run the following from the command line. dpkg –get-selections dave@darkmetal:~$ dpkg –get-selections | grep php libapache2-mod-php5 install php-pear install php5-cli install php5-common [...]