• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

Upgrading PHP

G

Greenhorn2013

Guest
Our Server currently runs on PHP4.3 and we will upgrade php to the latest version.
How can we Upgrade?

Server Configuration:
Debian Sarge
Plesk 8.2.1
 
I tries the following KB Article (http://kb.swsoft.com/en/1762) but i get some erros.

The following packages have unmet dependencies:
libapache2-mod-php5: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge6 is to be installed
Depends: libdb4.4 but it is not installable
Depends: libkrb53 (>= 1.4.2) but 1.3.6-2sarge5 is to be installed
Depends: libssl0.9.8 (>= 0.9.8c-1) but it is not going to be installed
Depends: libxml2 (>= 2.6.27) but 2.6.16-7 is to be installed
Depends: apache2.2-common but it is not installable
psa-php5-configurator: Depends: php5-mysql but it is not going to be installed
Depends: php5-gd but it is not going to be installed
Depends: php5-imap but it is not going to be installed
Depends: php5-cli but it is not going to be installed
Depends: php5-curl but it is not going to be installed
E: Broken packages
 
have you changed all stable to sarge in your /etc/apt/sources.list ?

and which php5 repository do you use ?
 
This is my first debian system.
better i show you the "sources.list"

deb http://autoinstall.plesk.com/debian/PSA_8.2.1 sarge all

deb ftp://ftp.hosteurope.de/mirror/ftp.debian.org/debian/ sarge main contrib non
deb-src ftp://ftp.hosteurope.de/mirror/ftp.debian.org/debian/ sarge main contrib

deb ftp://ftp.hosteurope.de/mirror/ftp.debian.org/debian-security/ sarge/updates
#Plesk
deb http://autoinstall.plesk.com/debian/PSA8 sarge all
#Security
deb http://security.debian.org/debian-security stable/updates main contrib
## This is temporary appended by Autoinstaller from SWsoft for
## specify source of product's packages for APT.
deb http://autoinstall.plesk.com/debian/PSA_8.2.1 sarge all
 
I change the lines and make
apt-get update
and
apt-get install psa-php5-configurator libapach2-mod-php5

Now i get the following error:
libapache2-mod-php5 is not avaiulable but it is referred to by another package.
 
This server was preconfigured with php4
does i need an extra source in sources list to get php?
 
debian sarge has php4
debian etch has php4 and php5

if you like to have debian sarge with php5 you need to add a extra source for it ...
 
Thx
which sources can you suggest and what are the next steps?
 
I do it, but now i get a new error:
Broken Packages
Output:
apt-get install psa-php5-configurator libapache2-mod-php5
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
libapache2-mod-php5: Depends: libc6 (>= 2.3.6-6) but 2.3.2.ds1-22sarge6 is to be installed
Depends: libdb4.4 but it is not installable
Depends: libkrb53 (>= 1.4.2) but 1.3.6-2sarge5 is to be installed
Depends: libssl0.9.8 (>= 0.9.8c-1) but it is not installable
Depends: libxml2 (>= 2.6.27) but 2.6.16-7 is to be installed
psa-php5-configurator: Depends: php5-mysql but it is not going to be installed
Depends: php5-gd but it is not going to be installed
Depends: php5-imap but it is not going to be installed
Depends: php5-cli but it is not going to be installed
Depends: php5-curl but it is not going to be installed
E: Broken packages
 
#deb http://autoinstall.plesk.com/debian/PSA_8.2.1 sarge all

deb ftp://ftp.hosteurope.de/mirror/ftp.debian.org/debian/ sarge main contrib non-free
deb-src ftp://ftp.hosteurope.de/mirror/ftp.debian.org/debian/ sarge main contrib non-free

deb ftp://ftp.hosteurope.de/mirror/ftp.debian.org/debian-security/ sarge/updates main contrib non-free
#Plesk
#deb http://autoinstall.plesk.com/debian/PSA8 sarge all
#Security
deb http://security.debian.org/debian-security sarge/updates main contrib
## This is temporary appended by Autoinstaller from SWsoft for
## specify source of product's packages for APT.
deb http://autoinstall.plesk.com/debian/PSA_8.2.1 sarge all

deb http://dotdeb.pimpmylinux.org/ stable all
deb-src http://dotdeb.pimpmylinux.org/ stable all
 
Done and new Error
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

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
psa-php5-configurator: Depends: php5-mysql but it is not going to be installed
Depends: php5-gd but it is not going to be installed
Depends: php5-imap but it is not going to be installed
Depends: php5-cli but it is not going to be installed
Depends: php5-curl but it is not going to be installed
E: Broken packages
 
try
apt-get dist-upgrade

and then
apt-get install psa-php5-configurator
apt-get install libapache2-mod-php5
 
apt-get dist-upgrade
-------------------------------------------------------------------
Reading Package Lists... Done
Building Dependency Tree... Done
Calculating Upgrade... Done
The following packages have been kept back:
libmysqlclient14 mysql-client-4.1 mysql-server-4.1
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
-------------------------------------------------------------------
apt-get install psa-php5-configurator
-------------------------------------------------------------------
Reading Package Lists... Done
Building Dependency Tree... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

Since you only requested a single operation it is extremely likely that
the package is simply not installable and a bug report against
that package should be filed.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
psa-php5-configurator: Depends: libapache2-mod-php5 but it is not going to be installed
Depends: php5-mysql but it is not going to be installed
Depends: php5-gd but it is not going to be installed
Depends: php5-imap but it is not going to be installed
Depends: php5-cli but it is not going to be installed
Depends: php5-curl but it is not going to be installed
PreDepends: libapache2-mod-php5 but it is not going to be installed
E: Broken packages

I doesnt make the next step, because off errors above
 
Back
Top