Whoever wrote PHP 5 is an idiot

  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 28, 2004
  • Posts: 1127
  • Loc: San Diego
  • Status: Offline

Post October 30th, 2009, 11:15 pm

<rant>

Upgrade my server from php4 to php5 finally this week. I put it off because of the compatibility issues with 4->5

Then it took the rest of the week to fix the websites. Image uploads, redirects, permissions, icons, new accounts. Pretty much the entire website is broken.

Whoever wrote PHP 5 is an idiot. I guess I have myself to blame - you know, using an open source language like PHP in the first place, when I didn't realize IT WAS WRITTEN BY BLIND MONKEYS.

</rant>
Upload video and picture galleries at http://www.bodydot.com?post+upload+video+picture+gallery
  • Anonymous
  • Bot
  • No Avatar
  • Joined: 25 Feb 2008
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post October 30th, 2009, 11:15 pm

  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post October 31st, 2009, 7:00 am

What was so hard about it ?

Somehow I've always skated around these horrible upgrade stories people have. I really have no idea what makes upgrading so tough. If anything, I'm only ever left thinking I'm a slacker because I've not upgraded my code to take advantage of new features yet. :scratchhead:
Strong with this one, the sudo is.
  • camperjohn
  • Guru
  • Guru
  • User avatar
  • Joined: Nov 28, 2004
  • Posts: 1127
  • Loc: San Diego
  • Status: Offline

Post October 31st, 2009, 10:21 am

I needed CURL, which I had on my old server. But my new server was not compiled with CURL, and now that I need it, I can't complile with php4 and a 2 year old version.

So I compiled it with the latest libs.

The biggest things are the unseen things so far. Header only works now with an absolute path. Folders for caching don't seem to work anymore, don't know if they got reset or if PHP is no longer running with the correct permissions to do it.

Other stupid things too - like classes in php 5 don't really work the same way - can't referece a parent from a child the same way, and it doesn't seem to propigate values to siblings. Duh.

C++ is awesome. PHP WAS awesome.

</rant>
Upload video and picture galleries at http://www.bodydot.com?post+upload+video+picture+gallery
  • joebert
  • Sledgehammer
  • Genius
  • No Avatar
  • Joined: Feb 10, 2004
  • Posts: 13455
  • Loc: Florida
  • Status: Offline

Post October 31st, 2009, 11:08 am

Well, does the application as a whole work better now after the upgrades ?
Strong with this one, the sudo is.

Post Information

  • Total Posts in this topic: 4 posts
  • Users browsing this forum: No registered users and 137 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 2011 Unmelted, LLC. Ozzu® is a registered trademark of Unmelted, LLC.