A Web.com Partner
Sign Up / Log In
Online Support Linux Servers

How to Install or Upgrade PHP Under Debian or Ubuntu?

You can install or upgrade PHP under Debian/Ubuntu by doing the following:

  1. Open your VPS console from the Power Management control panel.
  2. Log In to your VPS by entering your username and password.
  3. Install or upgrade PHP under Debian/Ubuntu using the following commands:
    # apt-get install php4-cgi php4-cli
    # sudo apt-get install php4-cgi php4-cli
  4. To install or upgrade PHP5 under Debian/Ubuntu use the following commands:
    # apt-get install php5-cgi php5-cli
    # sudo apt-get install php5-cgi php5-cli

Congratulations, you have installed or upgraded PHP under Debian/Ubuntu.

Was this helpful? Yes No 100% of people found this helpful.
{"message":""}