GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   rant: php4 (https://gfy.com/showthread.php?t=742961)

k0nr4d 06-15-2007 12:49 AM

rant: php4
 
How come so many of you people are still running php4?

It's driving me insane. Half the time even new servers that get setup the admins install php4 on. I'm sick of being stuck using php4 functions like some kind of fucking cave man!

I understand there's the possibility of some compatibility issues because of register_globals being off by default but god damn. its 7 years old! :mad:

I've also seen some pretty big players still running version 3 of mysql!

grumpy 06-15-2007 12:56 AM

if it works, dont touch it. Maybe you should be more clear in your requests when you order a server, just say, hey, i want php 5 on it.

Superterrorizer 06-15-2007 12:58 AM

Quote:

Originally Posted by grumpy (Post 12603179)
if it works, dont touch it. Maybe you should be more clear in your requests when you order a server, just say, hey, i want php 5 on it.

Correct. If it's not broken and there are no security issues there really is no reason to upgrade if everything is working fine.

Subtle 06-15-2007 01:08 AM

The real problem is that people are slow to accept changes. Hence, there are very few successful people as they take risks , challenges and are not scared of troubles or obstacles.

You should feel happy that you are among the few to be ahead. There shall be servers catering to your needs.

Three Cheers!! Hope you inspire people to adopt PHP5! Cheers!

k0nr4d 06-15-2007 01:10 AM

Quote:

Originally Posted by Superterrorizer (Post 12603188)
Correct. If it's not broken and there are no security issues there really is no reason to upgrade if everything is working fine.

Thats a valid point, yes, but I mean, at SOME POINT they HAVE to upgrade. 10 Years down the road are they gonna be running php4 still because everythings working fine?

tical 06-15-2007 01:12 AM

Quote:

Originally Posted by k0nr4d (Post 12603243)
Thats a valid point, yes, but I mean, at SOME POINT they HAVE to upgrade. 10 Years down the road are they gonna be running php4 still because everythings working fine?

if it aint broke don't fix it, end users don't care what version of php or mysql you're running... as long as they get what they expect in a timely fashion it shouldn't really matter

edgeprod 06-15-2007 01:23 AM

Quote:

Originally Posted by k0nr4d (Post 12603243)
Thats a valid point, yes, but I mean, at SOME POINT they HAVE to upgrade. 10 Years down the road are they gonna be running php4 still because everythings working fine?

Why not?

You should SEE some of the stuff our customers are running. I can't even TELL you how many times I've said things like, "Do you mind if we at least install something from the current decade?"

:1orglaugh

Donkey Punch 06-15-2007 01:29 AM

Quote:

Originally Posted by Subtle (Post 12603236)
The real problem is that people are slow to accept changes. Hence, there are very few successful people as they take risks , challenges and are not scared of troubles or obstacles.


This statement is soo fucking true !!

I used vb3 for sooo long after vb6 came out..
I used vb6 for soo long after vb.net came out..
I used text files for soo long even after I learned about DB's

etc..

I was always in the mentality "if its not broke dont fix it"

This is the wrong mindset, as upgrades do serve a purpose..

fris 06-15-2007 03:07 AM

upgraded to php5 weeks ago.

PHP 5.2.3 with Suhosin-Patch 0.9.6.2 (cli) (built: Jun 4 2007 23:29:02)

darksoul 06-15-2007 03:20 AM

Quote:

Originally Posted by k0nr4d (Post 12603163)
I understand there's the possibility of some compatibility issues because of register_globals being off by default but god damn. its 7 years old! :mad:

register_globals was off by default in php4 as well
This wouldn't be a problem if it was the only difference between the two
but from php4 to php5 there are major changes
People have lots of custom code that will be a pain to upgrade to php5
A lot of other software is not compatible with php5 yet. php5 requires
mysql5 and apache2 in order to make use of all its features.
Everyone has different reasons for not switching and among them its the fact
that php4 is widely used and pretty stable compared to php5.

Any host will install php5 for you if you asked for it.

nation-x 06-15-2007 04:30 AM

Quote:

Originally Posted by darksoul (Post 12603626)
php4 is widely used and pretty stable compared to php5.

Can you show me an example of this claim?

http://sebastian-bergmann.de/archive...rformance.html

fluffygrrl 06-15-2007 04:35 AM

That's nothing, do you know how old the c compiler is ?

Newer is not necessarily better.

darksoul 06-15-2007 04:38 AM

Quote:

Originally Posted by nation-x (Post 12603841)
Can you show me an example of this claim?

http://sebastian-bergmann.de/archive...rformance.html

performance and stability aren't the same thing in my book.

StuartD 06-15-2007 04:40 AM

php5 has been around since 2004.... 3 years is plenty of time to get over your fears and learn something new. It's MUCH better in terms of speed, stability and functionality. It has been for a long time.

People who stick with php4 because of the "if it isn't broke, don't fix it" approach must still be using a 7 pound cell phone, because there's obviously no need for better service or more features.

georgeyw 06-15-2007 04:41 AM

have php5 on one server and php4 on another - simply because some scripts just won't work with php5 :( Would love to run latest versions of everything.

darksoul 06-15-2007 04:43 AM

Quote:

Originally Posted by StuartD (Post 12603864)
php5 has been around since 2004.... 3 years is plenty of time to get over your fears and learn something new. It's MUCH better in terms of speed, stability and functionality. It has been for a long time.

People who stick with php4 because of the "if it isn't broke, don't fix it" approach must still be using a 7 pound cell phone, because there's obviously no need for better service or more features.

you must not have a lot of custom code
theres a reason some still run fortran or cobol or lisp.

StuartD 06-15-2007 04:47 AM

Quote:

Originally Posted by darksoul (Post 12603875)
you must not have a lot of custom code
theres a reason some still run fortran or cobol or lisp.

Everything I write is custom code... and I can tell you right now that the ONLY reason that something on a PHP4 server won't work on a PHP5 server is that it was written improperly.

Everything I have written while working with PHP4 will work on PHP5.

darksoul 06-15-2007 05:00 AM

Quote:

Originally Posted by StuartD (Post 12603887)
Everything I write is custom code... and I can tell you right now that the ONLY reason that something on a PHP4 server won't work on a PHP5 server is that it was written improperly.

Everything I have written while working with PHP4 will work on PHP5.

lucky you
but you've got to understand that you're a happy case
theres lots of flaky coders out there.
For some companies to rewrite thousands of lines of code just because
theres this new thing called php5 is not a viable option.

In time things will migrate but not as fast as you want. Theres always
early adopters and people that like to wait.

I've been using apache2 in production since the first release. Lots of people are still using apache1.3

RawAlex 06-15-2007 06:28 AM

Quote:

Originally Posted by Superterrorizer (Post 12603188)
Correct. If it's not broken and there are no security issues there really is no reason to upgrade if everything is working fine.

Sadly, there are security issues in both php3 and php4, particularly in passing global variables and making things pretty much wide open. I would be very surprised at any larger hosting company not installed php5.


All times are GMT -7. The time now is 11:45 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2026, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123