Article ID: 1782, created on Apr 6, 2007, last review on May 11, 2014

  • Applies to:
  • Plesk 8.x for Linux/Unix


PHP on Debian can be upgraded in the following way: 
1. Comment the Plesk source in the /etc/apt/sources.list file, similarly to the following:

and update:

# apt-get update

2. Run the apt-cache search | grep php5 command to see which packages are available.

3. Install the necessary php5 packages, for example:

# apt-get install php5 php5-common php5-gd php5-imap php5-mysql php5-xmlrpc php5-cgi php5-xsl php5-curl php5-cli

4. Remove libapache2-mod-php4 and psa-php4-configurator:

# dpkg -r --force-depends libapache2-mod-php4 psa-php4-configurator

5. Activate the Plesk source in the file /etc/apt/sources.list and update:

# apt-get update

6. Install libapache2-mod-php5 and psa-php5-configurator:

# apt-get install libapache2-mod-php5 psa-php5-configurator

b8ef5052d936e902043e41759118114e 29d1e90fd304f01e6420fbe60f66f838 a914db3fdc7a53ddcfd1b2db8f5a1b9c 56797cefb1efc9130f7c48a7d1db0f0c

Email subscription for changes to this article
Save as PDF