• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

Upgrading PHP

i try:
apt-get install psa-php5-configurator libapache2-mod-php5 php5-mysql php5-gd php5-imap php5-cli php5-curl

and get this:
The following packages have unmet dependencies:
libapache2-mod-php5: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-cli: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-curl: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-gd: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-imap: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-mysql: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
E: Broken packages
 
what about
apt-get install php5 php5-mysql php5-gd php5-imap php5-cli php5-curl

and after this
apt-get install psa-php5-configurator libapache2-mod-php5
 
Try this:
apt-get install php5 libapache2-mod-php5 php5-cgi php5-mysql php5-gd php5-imap php5-cli php5-curl

and get:
The following packages have unmet dependencies:
libapache2-mod-php5: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-cgi: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-cli: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-curl: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-gd: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-imap: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-mysql: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
E: Broken packages
 
have you tried
apt-get install php5 php5-mysql php5-gd php5-imap php5-cli php5-curl

what is the output of
dpkg -l |grep php
 
Input:
apt-get install php5 php5-mysql php5-gd php5-imap php5-cli php5-curl

Output:
php5: Depends: libapache2-mod-php5 (>= 5.2.5-0.dotdeb.0) but it is not going to be installed or
libapache-mod-php5 (>= 5.2.5-0.dotdeb.0) but it is not going to be installed or
php5-cgi (>= 5.2.5-0.dotdeb.0) but it is not going to be installed
php5-cli: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-curl: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-gd: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-imap: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed
php5-mysql: Depends: php5-common (= 5.2.5-0.dotdeb.0) but 5.2.5-0.dotdeb.1 is to be installed


Input:
dpkg -l |grep php

Output:
ii php-pear 5.2.5-0.dotdeb PEAR - PHP Extension and Application Reposit
ii php4 4.4.7-0.dotdeb server-side, HTML-embedded scripting languag
ii php4-cli 4.4.7-0.dotdeb command-line interpreter for the php4 script
ii php4-common 4.4.7-0.dotdeb Common files for packages built from the php
ii php4-curl 4.4.7-0.dotdeb CURL module for php4
ii php4-domxml 4.4.7-0.dotdeb XMLv2 module for php4
ii php4-gd 4.4.7-0.dotdeb GD module for php4
ii php4-imap 4.4.7-0.dotdeb IMAP module for php4
ii php4-mysql 4.4.7-0.dotdeb MySQL module for php4
ii php5-common 5.2.5-0.dotdeb Common files for packages built from the php
ii psa-php4-confi 1.3.0-debian3. Plesk configurator for php4
 
is the installed common package dotdeb.0 or dotdeb.1 ?

maybe you see it with
COLUMNS=150 dpkg -l | grep php
 
libapache-mod-php4 - 4.4.7-0.dotdeb.0
libapache2-mod-php4 - 4.4.7-0.dotdeb.0
php-pear - 5.2.5-0.dotdeb.1
php4 - 4.4.7-0.dotdeb.0
php4-cli - 4.4.7-0.dotdeb.0
php4-common - 4.4.7-0.dotdeb.0
php4-curl - 4.4.7-0.dotdeb.0
php4-domxml - 4.4.7-0.dotdeb.0
php4-gd - 4.4.7-0.dotdeb.0
php4-imap - 4.4.7-0.dotdeb.0
php4-mysql - 4.4.7-0.dotdeb.0
php5-common - 5.2.5-0.dotdeb.1
 
Now it looks:
libapache-mod-php4 - 4.4.7-0.dotdeb.0
libapache2-mod-php4 - 4.4.7-0.dotdeb.0
php-pear - 5.2.5-0.dotdeb.0
php4 - 4.4.7-0.dotdeb.0
php4-cli - 4.4.7-0.dotdeb.0
php4-common - 4.4.7-0.dotdeb.0
php4-curl - 4.4.7-0.dotdeb.0
php4-domxml - 4.4.7-0.dotdeb.0
php4-gd - 4.4.7-0.dotdeb.0
php4-imap - 4.4.7-0.dotdeb.0
php4-mysql - 4.4.7-0.dotdeb.0
php5-common - 5.2.5-0.dotdeb.0
psa-php4-configurator - 1.3.0-debian3.1.build82070918.1

now i will try
apt-get install psa-php5-configurator libapach2-mod-php5
 
Its ok i reloaded apache and all works fine.
Addional packages comes soon :)
 
Back
Top