/kb

personal knowledgebase

Archive for the ‘php’ tag

php5-imagick error in Ubuntu 8.04

without comments

I got the following error message, caused by a bug in Ubuntu.:

PHP Warning:  PHP Startup: Unable to load dynamic library
'/usr/lib/php5/20060613+lfs/imagick.so' -
libWand.so.9: cannot open shared object file:
No such file or directory in Unknown on line 0 finished.

Here’s the solution.

Written by Håvard Grimelid

July 17th, 2008 at 1:42 pm

Posted in Server

Tagged with , , , ,

Prettify print_r output

without comments

By putting print_r() statements enclosed by html pre-tag, the output is quite a lot more readable.

Written by Håvard Grimelid

May 7th, 2008 at 6:21 pm

Posted in Programming

Tagged with ,