View Single Post
  #9  
Old 21st January 2013, 20:39
nenad nenad is offline
Senior Member
 
Join Date: Nov 2005
Location: Novi Sad, Serbia
Posts: 415
Thanks: 13
Thanked 5 Times in 5 Posts
Default

I resolved it.

1. I made new directory
Code:
mkdir /root/downloads/php5.3
2. I downloaded all of the deb packages
Code:
wget -r -l 1 http://archives-php53.dotdeb.org/dists/lenny/php5/5.3.9/binary-i386/
3. Created Packages.gz
Code:
sudo dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz
4. added this to sources.list
Code:
deb file:///root/downloads/php5.3 ./
5.
Code:
 sudo apt-get update
6.
Code:
apt-get upgrade
7.
Code:
apt-get dist-upgrade
And that's it

8.
Code:
php -v
PHP 5.3.9-1~dotdeb.2 with Suhosin-Patch (cli) (built: Jan 13 2012 01:21:19)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
piks:~/downloads/php5.3#

However, there's some error.
What should I do with this? (websites are working just fine)

Code:
piks:~/downloads/php5.3# php -v
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/imagick.ini on line 1 in Unknown on line 0
PHP Deprecated:  Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/xmlrpc.ini on line 1 in Unknown on line 0
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/imagick.so' - /usr/lib/php5/20090626+lfs/imagick.so: cannot open shared object file: No such file or directory in Unknown on line 0
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3
Reply With Quote