Cheap VPS & Xen Server


Residential Proxy Network - Hourly & Monthly Packages

How to install php5 on Debian Unstable (Sid)


Install php5

Installing php5 package on Debian Unstable (Sid) is as easy as running the following command on terminal:

sudo apt-get update
sudo apt-get install php5

php5 package information

distro Debian Unstable (Sid)
section Main
name php5
version 5.6.20+dfsg-1
description server-side, HTML-embedded scripting language (metapackage)
subsection php
website php.net
maintainer Debian PHP Maintainers

Uninstall php5

To remove just php5 package itself from Debian Unstable (Sid) execute on terminal:

sudo apt-get remove php5

Uninstall php5 and it’s dependent packages

To remove the php5 package and any other dependant package which are no longer needed from Debian Sid.

sudo apt-get remove --auto-remove php5

Purging php5

If you also want to delete configuration and/or data files of php5 from Debian Sid then this will work:

sudo apt-get purge php5

To delete configuration and/or data files of php5 and it’s dependencies from Debian Sid then execute:

sudo apt-get purge --auto-remove php5

 

Comments

comments