PHP 5: is my site going to explode?

Ye' old general discussion board. Basically, for everything that isn't covered elsewhere. Come here to shoot the breeze, shoot your mouth off, or whatever suits your fancy.
This forum is not for asking programming related questions.

Moderator: General Moderators

Post Reply
returnButton
Forum Newbie
Posts: 6
Joined: Sat Jul 05, 2003 5:06 pm

PHP 5: is my site going to explode?

Post by returnButton »

great.. a new version of PHP. i'm just in the process of creating my first PHP site for a friend, and getting my head round the PHP 4 framework. It's going ok. But in my time building the site i've sought help from the PHP manual, posts here and general help on the internet, and everywhere i see reference to things that have changed in PHP 4 and will no longer work in 3. The site is going to be ready for launch soon, and my fear is, what if my host decides to upgrade to 5 and everything breaks!!? I'll have multiple templates to sift through and change, and an unhappy buddy with a brand-spanking new, broken, site.
Did anyone have probs with the 3-4 transition?

oh, and this is my first post, so, Hello.
User avatar
m3mn0n
PHP Evangelist
Posts: 3548
Joined: Tue Aug 13, 2002 3:35 pm
Location: Calgary, Canada

Post by m3mn0n »

Hi, welcome to the forums! 8)

PHP3 to PHP4 wasn't too bad (for me anyway). None of my apps broke but some of them did have minor php.ini issues, Superglobals, plus script security, etc. But they where fixed/updated in no time flat!

PHP4 to PHP5 i don't think will be that bad. The majority of the changes that i've been hearing will happen won't really affect the average PHPer, mainy just the advanced programmers who need cutting edge capabilities in PHP (i could be wrong....heh).

Plus don't forget PHP5 is just in beta1 release, it won't be finalized for a while, early next year is what i've heard. Who knows what else might develop! =)
JPlush76
Forum Regular
Posts: 819
Joined: Thu Aug 01, 2002 5:42 pm
Location: Los Angeles, CA
Contact:

Post by JPlush76 »

the PHP team strictly says "DO NOT USE THIS BETA LAUNCH FOR LIVE APPLICATIONS"

apparently there are alot of bugs they know about and are working to fix. I definately wouldn't migrate to PHP5 until its an official release unless you just wanna play around with the new features.
User avatar
Fredix
Forum Contributor
Posts: 101
Joined: Fri Jul 18, 2003 2:16 pm
Location: Wehr (Eifel) Germany
Contact:

Post by Fredix »

I just searched for a PHP5 topic and found one :-)

Well I read through the "changes site" (http://www.php.net/zend-engine-2.php) and I noticed that almost all changes will affect or rather extend PHP's class function. Which means that PHP4 scripts should continue to run perfectly and only few coders will notice a change from 4 to 5. I don't use classes too often maybe because I don't really know about the possibilities.

Actually I would care more about the PHP extension libraries like MING or whatever that make PHP a very useful tool.

good night,
Fredix
User avatar
phice
Moderator
Posts: 1416
Joined: Sat Apr 20, 2002 3:14 pm
Location: Dallas, TX
Contact:

Post by phice »

I only use stable/final releases.
Image Image
Post Reply