Webmaster Forum  

Go Back   Webmaster Forum > Web Hosting Forum - Web Hosting - Web Host - Hosting - Managed Hosting - Shared Hosting > Web Hosting Forum
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


Why is php 5 so rare?

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 01-12-2007, 04:00
linux-tech
Junior Member

linux-tech's Avatar

Join Date: Jan 2007
Location: Cornfield, IA
Posts: 5
Trader Rating: (0)
Points: 5 (Donate)
5 F$/Referral Refer Friends
linux-tech is on a distinguished road
Send a message via ICQ to linux-tech Send a message via AIM to linux-tech Send a message via MSN to linux-tech Send a message via Yahoo to linux-tech
Default Re: Why is php 5 so rare?

Just a few observances here:
Quote:

-- it might be because it will cause downtime and they can't afford to have downtime.
A properly setup server will not cause a moment of downtime when apache is upgraded. All that happens when apache is upgraded is that the server itself restarts apache. That's it. nothing fancy, nothing major, that's it. This goes the same for php, the only difference being that php isn't "restarted", it's transitioned over.
Quote:

-- Usually, hosts don't upgrade their servers because they're LAZY
This isn't as much the host thing as it is a developer thing. Traditionally, hosts don't upgrade not because they're lazy, but because they don't know how. There's a huge difference there.
Quote:

-- almost all the systems are based on php4 tath is it !!!
Another misconception.
A properly coded site (in php4) will have absolutely no problems migrating to php5. There are no major issues with updating php4 to php5, and, after almost 3 years in existence, there should be no script at all that's php5 incompatable. If there is, that's laziness, but NOT on the server side of things, on the developer's side of things.
Quote:

-- As coders don't write to many scripts using PHP5 why should the hosts upgrade themselves.
Again, a misconception.
PHP4 and PHP5 are practically interchangable. You don't need scripts to be written specifically for php5 to have it WORK in php5.

So, if most php4 and php5 applications ARE interchangable, why aren't more individuals running php5? Because they're afraid:

The "hype" now is that there are major incompatabilities in almost all scripts between php4 and php5. This, frankly, is incorrect.
From a developer's standpoint, I find that php4 and php5 are seamlessly integrated well enough. It's not like php6 where register_globals will be gone altogether (that will be a nightmare and probably lose a LOT of host support), but there were a few things cracked down on over the years.

Starting with php4, the php group did some major code changes, from register_globals (may have been php3, don't know) being turned off to other things. Why? Because they saw php being abused, and poorly coded in. I'm not going to say I agree with this move, specifically, because I do in fact use globals apparently (though I'll be damned if I know how), though every inch of my code is secured.

In php5 more security restrictions were put into place, causing more errors in php4 applications. THIS is why individuals didn't just rush out and update to php5. The same will be with php6 and register_globals. In fact, php5 may be the last WIDELY used version of php, if they keep the register_globals stuff up.

Anyways, I digress, just wanted to contribute my 0.02 as a developer into this.
__________________
Linux Tech Networks, Quality, affordable Linux Systems Administration
SimpleForums - Easy Install SMF Forums
Toll Free: 866-546-8914 (linux-14)
AIM: twhiting9275 ICQ: 153158973 MSN and Email: tech@linux-tech.net
linux-tech is offline
Reply With Quote
  #22  
Old 01-16-2007, 00:38
Kdoubt
Member

Kdoubt's Avatar

Join Date: Jan 2006
Location: Ontario Canada
Posts: 97
Trader Rating: (0)
Points: 72 (Donate)
5 F$/Referral Refer Friends
Kdoubt is on a distinguished road
Send a message via AIM to Kdoubt Send a message via MSN to Kdoubt
Default Re: Why is php 5 so rare?

We had a few issues with compatibility, but with some simple tweaking php5 is now enabled.
__________________
o|Intec Networks Hosting Solutions
o| ITHost.ca - 1-877-ITHost-1
o| cPanel Shared // Dedicated Linux // WHM Resellers // Domains
o| 100% Uptime -
View
Kdoubt is offline
Reply With Quote
  #23  
Old 01-16-2007, 00:39
shortd81
Junior Member


Join Date: Jan 2007
Posts: 26
Trader Rating: (0)
Points: 22 (Donate)
5 F$/Referral Refer Friends
shortd81 is on a distinguished road
Send a message via MSN to shortd81 Send a message via Yahoo to shortd81
Default Re: Why is php 5 so rare?

I don't think php 5 is rare at all. It might just be the servers you are looking at. Every single server except 1 offers php v.5 but it might just be a good coincedence.
shortd81 is offline
Reply With Quote
  #24  
Old 01-28-2007, 09:17
cy4nide
Member


Join Date: Jan 2007
Posts: 77
Trader Rating: (0)
Points: 58 (Donate)
5 F$/Referral Refer Friends
cy4nide is on a distinguished road
Default Re: Why is php 5 so rare?

i think the answer to all that is simple, lots and lots of scripts have been developed in the 4.x.x and the new 5 wont provide flexibility to those scripts...i have heard it makes them slower and sometimes obsolete. so hosts that provide php5 will definitely get less customers
[in my opinion]
cy4nide is offline
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


Resources : | Advertise at FHF | itextLink.com| Reseller Hosting| TextDot| iNamePros| Any Webmaster| Web Host| Dep3| cheap low cost web hosting reviews|


All times are GMT -4. The time now is 23:28.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.