Resolution
PHP on Debian can be upgrade in the following way:
1. Comment the Plesk source in the /etc/apt/sources.list file, something like:
# deb http://autoinstall.plesk.com/debian/PSA_8.1.0 sarge all
and update:
# apt-get update2. run `apt-cache search | grep php5` command to see wich 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-cli4. remove libapache2-mod-php4 and psa-php4-configurator:
# dpkg -r --force-depends libapache2-mod-php4 psa-php4-configurator5. activated Plesk source in the file /etc/apt/sources.list and update:
# apt-get update6. install libapache2-mod-php5 psa-php5-configurator:
# apt-get install libapache2-mod-php5 psa-php5-configuratorKeywords: how to upgrade php debian