How to search ubuntu server for installed PHP Package
How to search ubuntu server for installed PHP Package
Here is how to search ubuntu server for installed PHP Packages
Login to ssh
login as: root
[email protected]'s password:
Welcome to Ubuntu 12.04.5 LTS (GNU/Linux 2.6.32-042stab083.2 x86_64)
* Documentation: https://help.ubuntu.com/
No mail.
Last login: Tue Jul 5 21:49:35 2016 from 41.203.71.186
root@stoli:~# php --version
PHP 5.3.10-1ubuntu3.23 with Suhosin-Patch (cli) (built: May 19 2016 20:38:03)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
Here is the code
root@stoli:~# dpkg --get-selections | grep php
libapache2-mod-php5 install
php-pear install
php5 install
php5-cgi install
php5-cli install
php5-common install
php5-curl install
php5-dev install
php5-gd install
php5-geoip install
php5-imap install
php5-mcrypt install
php5-mysql install
php5-suhosin deinstall