DrupalSecurityWeb Development

Fixing Drupal 4.7.x to run on PHP 5.2.1

Let’s make this short.

Upgrades suck. And if admins force you into an upgrade (of PHP) it even more sucks.

In fact it was driving me nuts the whole afternoon. Just after a 12 hour outage thanks to ServerSupportGuys

Worst would be having to upgrade applications (like drupal) just because your admins or security team “recommend”

php5 but are unable to make the system run on PHP4 just as it did the day before.

So if your Drupal-site’s session handle is broken – means right after login you are logged out again,

then check out this page and make sure you add that one like

one line fix wrote:

register_shutdown_function(‘session_write_close’);

to all settings.php files required – and the whole crap works again.

I think somebody should pay me for wasting my time the whole afternoon for crap like this.

Instead I am paying system administrators to force me having to do security updates,

then later force me to mess around like I did the whole day – something’s really wrong here.

[end of bitching post, I know I should hire somebody to mess around with this crap]

Average rating
(0 votes)

Comments

Christoph C. Cemper's picture

Another PHP hassle

it seems new PHP version causes hassles once again,
judging from this blog

http://www.configserver.com/blog/index.php?itemid=211

Similar entries

  • Once again a big disappointment with a “server management” company called Server Support Guys (SSG from ByteFortress, SSG for ServerSupportGuys) left my server down for 12 hours

  • Finally, a 5.x capable version of comment_notify is ready for testing.

  • Over the last 2 weeks I’ve had problems on three sites with the exact same problem.

    The watchdog table grew FASTER than the cron job (which should delete old log entries older than e.g. 3 days) would have deleted it.

    This again ended in a “device full” last night when one watchdog table became 5 gigs.

    (and I had a “table full” problem on another site last week – tough 64bit MYSQL should be able to do 4TB spaces, that one was 4GB only)

    Now, it’s obvious that disk full problems shouldn’t be a problem for a content management system like Drupal to take care about,

  • Five new Drupal themes were released just yesterday. ... my favorite is the internet jobs theme – check it out….

  • Drupal 5 release candidate