This blog has moved.

The content here has been left available for historical purposes, and should be considered out of date. For the most part, comments have been closed. If you have questions, feel free to contact me at justin.henry(at)uvm.edu. Any new material can be found at http://greengaloshes.cc. Thanks for visiting!

Archive for September, 2005

ADOdb Database Abstraction Library for PHP

Monday, September 12th, 2005

I wanted to note ADOdb - an excellent php libary, which I stumbled on a while ago. A taste:

The PHP version currently supports an amazing number of databases, thanks to the wonderful ADOdb community: MySQL, PostgreSQL, Interbase, Firebird, Informix, Oracle, MS SQL, Foxpro, Access, ADO, Sybase, FrontBase, DB2, SAP DB, SQLite, Netezza, LDAP, and generic ODBC, ODBTP

Catch that? Looks like it even has drivers for LDAP - neato! What else could you want? Well, an OAI driver would be pretty darn cool. Sounds like a fun project.

Guidelines for setting up WP@UVM

Monday, September 12th, 2005

Last week, Stef asked me if I had some general guidelines for doing a wp install at UVM (on zoo).

  1. Get a MySQL account.
  2. Download WordPress.
  3. Unzip the package you downloaded.
  4. Open up wp-config-sample.php and fill in your database details (as provided via step 1). Save and rename the file to wp-config.php.
  5. Upload all the files to the appropriate location in your public_html (i.e. you might create a “public_html/blog/” directory and upload all the files into there)
  6. Run the installation file. Relative to where you uploaded the files, it’ll be in wp-admin/install.php.

That’s usually about it for the install - technically, you’re ready to go. Note most of the above steps are straight from the WP “5 Minute Installation“. I haven’t actually done an install in a little while, but for the most part the process shoudn’t be too different. Read on for further customization & configuration options. (more…)

WP, mail(), and PHP safe_mode

Saturday, September 3rd, 2005

A while back I ran into some problems with WP not sending emails due to the way mail() is sometimes called under safe mode.

Apparently (this may have been resolved by now - I was running 1.5.x i believe), you can’t pass mail() the optional 5th parameter when running under safe mode.

Here’s a little more info on how to address that.