Posts

Showing posts from February, 2011

Ubuntu 10.04 - PHP5 error - Can not load suhosin.so

I was trying to do some stuff with PHP and every time I ran some code through PHP, I got the error: PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626+lfs/suhosin.so' - /usr/lib/php5/20090626+lfs/suhosin.so: cannot open shared object file: No such file or directory in Unknown on line 0 It's not at all clear what package provides suoshin.so, so if you get stuck and can't find it, just run this at the command line: sudo apt-get install php5-suhosin That'll stop the error message from showing up.

Tweet Nest in Ubuntu 10.04 LTS

I recently downloaded and struggled with Tweet Nest (http://pongsocket.com/tweetnest/).  It requires some components that weren't installed by default in my Ubuntu install and the setup scripts don't do some nice things that it could do (i.e., set up a back-end database for you). I first of all tried to get it working in my public_html directory which was a minor disaster and didn't work at all (I think this is related so suphp and I don't know anything about that though).  I moved everything to /var/www/ and it worked slightly better (i.e. I didn't get prompted to download a file every time I went to http://laptop/tweetnest/). [EDIT 1: Ahhah, I have now found out that the reason it didn't work in user space was that by default PHP is disabled in user's "public_html" directories.  This needs editing in the Apache PHP5 configuration file: http://www.weblogism.com/item/266/php-not-interpreted-in-public_html-in-recent-ubuntu-update It's workin