• 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.

Upgradding PHP 5.1.2 > 5.2.9

C

Colin Lundy

Guest
Heya guys,

I have a couple of problems upgrading PHP from 5.1.2 right up to 5.9.2. So im going to ask for you guys to help me :)

File: /etc/apt/sources.list
#Host Europe server:
deb ftp://ftp.hosteurope.de/mirror/archive.ubuntu.com/ dapper main multiverse u$
deb ftp://ftp.hosteurope.de/mirror/archive.ubuntu.com/ dapper-security main res$

deb ftp://archive.ubuntu.com/ubuntu dapper main multiverse universe
deb ftp://archive.ubuntu.com/ubuntu dapper-security main restricted universe mu$
# Plesk
deb http://autoinstall.plesk.com/ubuntu/PSA8 dapper all

## This is temporary appended by Autoinstaller for
## specify source of product's packages for APT.
deb http://autoinstall.plesk.com/ubuntu/PSA_8.6.0 dapper all

root@lvps92-51-169-18:~# apt-get clean && apt-get update
Hit ftp://ftp.hosteurope.de dapper Release.gpg
Hit ftp://archive.ubuntu.com dapper Release.gpg
Hit ftp://ftp.hosteurope.de dapper-security Release.gpg
Get: 1 ftp://ftp.hosteurope.de dapper Release [34,8kB]
Hit ftp://archive.ubuntu.com dapper-security Release.gpg
Get: 2 ftp://archive.ubuntu.com dapper Release [34,8kB]
Get: 3 ftp://ftp.hosteurope.de dapper-security Release [50,9kB]
Get: 4 ftp://archive.ubuntu.com dapper-security Release [50,9kB]
Ign http://autoinstall.plesk.com dapper Release.gpg
Hit ftp://ftp.hosteurope.de dapper/main Packages
Hit ftp://ftp.hosteurope.de dapper/multiverse Packages
Hit ftp://ftp.hosteurope.de dapper/universe Packages
Hit ftp://archive.ubuntu.com dapper/main Packages
Ign http://autoinstall.plesk.com dapper Release.gpg
Hit ftp://archive.ubuntu.com dapper/multiverse Packages
Hit ftp://archive.ubuntu.com dapper/universe Packages
Hit ftp://ftp.hosteurope.de dapper-security/main Packages
Hit ftp://archive.ubuntu.com dapper-security/main Packages
Hit ftp://ftp.hosteurope.de dapper-security/restricted Packages
Hit ftp://archive.ubuntu.com dapper-security/restricted Packages
Hit ftp://archive.ubuntu.com dapper-security/universe Packages
Hit ftp://ftp.hosteurope.de dapper-security/universe Packages
Hit ftp://archive.ubuntu.com dapper-security/multiverse Packages
Hit ftp://ftp.hosteurope.de dapper-security/multiverse Packages
Ign http://autoinstall.plesk.com dapper Release
Ign http://autoinstall.plesk.com dapper Release
Hit http://autoinstall.plesk.com dapper/all Packages
Hit http://autoinstall.plesk.com dapper/all Packages
Fetched 171kB in 1s (125kB/s)
E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem.

root@lvps92-51-169-18:~# dpkg --configure -a
Setting up mysql-common (5.1.32-0.dotdeb.1) ...

Configuration file `/etc/mysql/my.cnf'
==> Modified (by you or by a script) since installation.
==> Package distributor has shipped an updated version.
What would you like to do about it ? Your options are:
Y or I : install the package maintainer's version
N or O : keep your currently-installed version
D : show the differences between the versions
Z : background this process to examine the situation
The default action is to keep your current version.
*** my.cnf (Y/I/N/O/D/Z) [default=N] ? y
Installing new version of config file /etc/mysql/my.cnf ...

root@lvps92-51-169-18:~# apt-get upgrade
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
apache2 apache2-common apache2-doc apache2-mpm-prefork apache2-utils libapr0
6 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 3372kB of archives.
After unpacking 24,6kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get: 1 ftp://ftp.hosteurope.de dapper-security/main libapr0 2.0.55-4ubuntu2.4 [133kB]
Get: 2 ftp://ftp.hosteurope.de dapper-security/main apache2 2.0.55-4ubuntu2.4 [36,6kB]
Get: 3 ftp://ftp.hosteurope.de dapper-security/main apache2-mpm-prefork 2.0.55-4ubuntu2.4 [199kB]
Get: 4 ftp://ftp.hosteurope.de dapper-security/main apache2-common 2.0.55-4ubuntu2.4 [787kB]
Get: 5 ftp://ftp.hosteurope.de dapper-security/main apache2-utils 2.0.55-4ubuntu2.4 [92,5kB]
Get: 6 ftp://ftp.hosteurope.de dapper-security/main apache2-doc 2.0.55-4ubuntu2.4 [2125kB]
Fetched 3372kB in 1s (2963kB/s)
(Reading database ... 182498 files and directories currently installed.)
Preparing to replace libapr0 2.0.55-4ubuntu2.3 (using .../libapr0_2.0.55-4ubuntu2.4_i386.deb) ...
Unpacking replacement libapr0 ...
Preparing to replace apache2 2.0.55-4ubuntu2.3 (using .../apache2_2.0.55-4ubuntu2.4_i386.deb) ...
Unpacking replacement apache2 ...
Preparing to replace apache2-mpm-prefork 2.0.55-4ubuntu2.3 (using .../apache2-mpm-prefork_2.0.55-4ubuntu2.4_i386.deb) ...
* Stopping apache 2.0 web server... [ ok ]
Unpacking replacement apache2-mpm-prefork ...
Preparing to replace apache2-common 2.0.55-4ubuntu2.3 (using .../apache2-common_2.0.55-4ubuntu2.4_i386.deb) ...
Unpacking replacement apache2-common ...
Preparing to replace apache2-utils 2.0.55-4ubuntu2.3 (using .../apache2-utils_2.0.55-4ubuntu2.4_i386.deb) ...
Unpacking replacement apache2-utils ...
Preparing to replace apache2-doc 2.0.55-4ubuntu2.3 (using .../apache2-doc_2.0.55-4ubuntu2.4_all.deb) ...
Unpacking replacement apache2-doc ...
Setting up libapr0 (2.0.55-4ubuntu2.4) ...

Setting up apache2-utils (2.0.55-4ubuntu2.4) ...
Setting up apache2-common (2.0.55-4ubuntu2.4) ...

Setting up apache2-mpm-prefork (2.0.55-4ubuntu2.4) ...
* Starting apache 2.0 web server... [ ok ]

Setting up apache2 (2.0.55-4ubuntu2.4) ...
Setting up apache2-doc (2.0.55-4ubuntu2.4) ...

root@lvps92-51-169-18:~# php -v
PHP 5.1.2 (cli) (built: Feb 11 2009 19:55:22)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.1.0, Copyright (c) 1998-2006 Zend Technologies
 
Back
Top