Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #11  
Old 23rd January 2013, 00:23
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

Yes, I got it, but what should I do with:

Code:
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
Sponsored Links
  #12  
Old 23rd January 2013, 17:27
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

What's the output of
Code:
updatedb
locate imagick.so
?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #13  
Old 23rd January 2013, 17:37
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

Output is none - looks like it's not installed?

of course when I try

apt-get install php5-imagick

I het an error similiar to this

Quote:
The following packages have unmet dependencies:
php5-imagick: Depends: phpapi-20060613+lfs but it is not installable
E: Broken packages
~$ apt-get install phpapi-20060613+lfs
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package phpapi-20060613+lfs is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package phpapi-20060613+lfs has no installation candidate
But I realsed that most likely I haven't downloaded updted package for imagick , so I found it in anoter repo on same site:
http://archives-php53.dotdeb.org/dis...9/binary-i386/


All-in all I resolved it with this steps:

Quote:
1.
I made new directory

mkdir /root/downloads/php5.3

then I moved there

cd /root/downloads/php5.3

2.
I downloaded all of the deb packages

wget -r -np -nH -nd -R index.html http://archives-php53.dotdeb.org/dis...9/binary-i386/

wget -r -np -nH -nd -R index.html http://archives-php53.dotdeb.org/dis...9/binary-i386/

3.
Created Packages.gz

dpkg-scanpackages . /dev/null | gzip -c9 > Packages.gz

4.
added this to sources.list

deb file:///root/downloads/php5.3 ./

5.
apt-get update

6.
apt-get upgrade

7.
apt-get dist-upgrade

And that's it

Don't forget to restart Apache2

/etc/init.d/apache2 restart

8.
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#

9. If you run into any problems it might be good idea to:

9.a. uinstall complete PHP

apt-get remove php5 libapache2-mod-php5 php5-gd php5-mysql
apt-get remove php5-curl php5-tidy php5-dev php-pear php5-cli
apt-get remove php5-common php5-suhosin



9.b. comment out sources.list local repository

joe /etc/apt/sources.list

deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free
deb http://archive.debian.org/debian-volatile lenny/volatile main non-free
# deb file:///root/downloads/php5.3 ./


9.c.

apt-get update
apt-get upgrade
apt-get auto-remove


9.d.
install PHP 5.2 all over again

apt-get install php5 libapache2-mod-php5 php5-gd php5-mysql
apt-get install php5-curl php5-tidy php5-dev php-pear php5-cli
apt-get install php5-common php5-suhosin php5-cgi php5-imagick


9.e.
un-comment sources.list local repository

joe /etc/apt/sources.list

deb http://archive.debian.org/debian/ lenny main contrib non-free
deb-src http://archive.debian.org/debian/ lenny main contrib non-free
deb http://archive.debian.org/debian-volatile lenny/volatile main non-free
deb file:///root/downloads/php5.3 ./

9.f
apt-get update
apt-get upgrade
apt-get dist-upgrade
apt-get auto-remove

/etc/init.d/apache2 restart

9.g
If you get error 500 it could be because somehow sometimes it might happend that instalelr skips (???) php5-cgi

so do it once again, just to be sure:

apt-get install php5-cgi

/etc/init.d/apache2 restart

9.h
If that's not enough you can always tail outpout of apache error log

tail -F /var/log/apache2/error.log
__________________
Nenad Bulatovic
---------------
Debian Lenny & ISPConfig 3

Last edited by nenad; 23rd January 2013 at 21:44.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 3 - MultiServer Setup - With Dedicated Control Panel - How? SuperJC Installation/Configuration 4 16th October 2012 20:03
Control Panel - E-mail Tab is empty domi-nik General 15 14th April 2011 18:17
libWand.so.10 error Taxick Installation/Configuration 8 3rd May 2009 01:27
Freebsd 6.1 support misterm Installation/Configuration 10 9th April 2009 09:29
Loads of mysql connections to dbispconfig StrikerNL General 2 5th March 2009 14:31


All times are GMT +2. The time now is 08:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.