Archive for March, 2006

PHP4 and PHP5 Side-by-Side Installation on Breezy

Tuesday, March 14th, 2006

This how I got to install PHP4 and PHP5 under Ubuntu Breezy. This should also work in other distributions which have at least two different installation options for PHP. It is also possible for you to install PHP4 or PHP5 from source[1][note1] if your distribution does not provide with you options (i.e. installing the PHP4 or PHP5 package would result in installing CLI, CGI, and Apache module versions).

Update July 6, 2006: This tutorial has been tested and is known to work under Ubuntu Linux 6.06 LTS (aka “Dapper Drake”). (more…)

Built-in PHP Session Handling Quirks

Tuesday, March 14th, 2006

There’s a lot of PHP code out there that uses PHP’s built-in session handling in anything from simple per-visitor customization to user authentication. In the usual case, everything seems to work fine. That is until authentication systems seem to timeout after the user has been idle for a while, usually after 30 minutes. Most probably, this is caused by PHP invalidating your session data.

(more…)

First Post!

Sunday, March 12th, 2006

Finally got around to making my first post on my new blog. It’s been sitting on the server for a few weeks now, and I was slowly working on getting the configuration just right. Yes, that’s right. Another Blog to mess up search engine results and clutter up the Internet with useless crap.

I’m too lazy to write a blogging module for my Poly::Weave Web Applications framework so I just used [WordPress][wp]. It’s pretty good actually and is excellent for getting a blog up and running very quickly. Installation was painless and only took about 2 minutes. And I can’t wait to try [Alex King's Mobile Blogging Plugin][wpmb].

I could have just used [BLOG:CMS][bcms], but the last time I used it, I was quickly confused by the bewildering array of options to tweak. But it really is pretty powerful, too bad my old BLOG:CMS blog got nuked before I could move it to this server.

[wp]: http://www.wordpress.org “WordPress” [wpmb]: http://www.alexking.org/software/wordpress/wp-mobile.zip “Mobile Blogging Plugin For WordPress” [bcms]: http://blogcms.com/ “BLOG:CMS”