![]() |
John VanDyk has been innovating with information technology for more than 20 years. Read more... |
Drupal 4.6 and PHP 5
I'm running PHP 5.1.6 and wanted to do some testing with the publish and subscribe modules for Drupal. This is the first time I've had PHP5 on my development machine for a variety of mundane reasons. Drupal 4.7 runs fine with PHP5, but imagine my surprise when a fresh install of Drupal 4.6.9 looked like this:
{_BLOCK_.header.logo} {_BLOCK_.header.site_name} {secondary_links} {primary_links} {_BLOCK_.header.blocks} {_BLOCK_.header.message}...
That's because Drupal 4.6.9 ships with an XTemplate-based theme called bluemarine that doesn't like PHP5. The quick 'n' easy solution was to go to /?q=admin/themes and change the theme to chameleon. (Then I installed the phptemplate engine and used phptemplate from then on.)
Unrelated note: pick up a copy of Apache Security. It's well worth it.
And another unrelated note. In a fit of Drupal server optimization, I installed the FreeBSD port of Zend Optimizer 3.0.1. However, it wasn't long before Apache was segfaulting. It turns out that I compiled PHP with the --enable-versioning flag on (since it's on by default), which is a no-no.
- Log in to post comments