Live data from Hacker News

PHP 5 and 7.0 end of life

hackertarget.com

51–60 of 122 posts

Re: PHP 5 and 7.0 end of life

#51

Earlier quoted context omitted.

ColdFusion's still around. https://www.adobe.com/products/coldfusion-family.html

I miss ColdFusion. I really liked the idea of a tag based server side language. It will never have the power or expressiveness of other languages but for raw productivity of producing very simple dynamic apps with an incredibly low bar to entry for new/non-programmers, nothing else was even close.

For the past 10 years you've been able to write code in script or tags. Our application uses tag syntax for views, and script syntax for controllers, services, db model, etc.

It's Java, so it has as much power and expressiveness as Java.

Re: PHP 5 and 7.0 end of life

#52
Fwiw, I was really impressed with my hosting provider (Siteground), a couple of months ago they warned about deprecation and sent a report saying they could autoupdate PHP but a plugin on my Wordpress wasn't ready. Top service IMO.

It's [modded] cPanel hosting, with extras, so perhaps that's a cPanel thing but as a very small scale setup it helped a lot to be forewarned of incompatible plugins.

Re: PHP 5 and 7.0 end of life

#53
post #7

Somebody should fork PHP 5.6. There is a lot of Software still depending on it and it is unrealistic to expect companies to migrate millions of lines of third party code to PHP 7.

Honestly I don't think that's a bad idea. Where I work I develop a web app that's written in Rails, and it's replacing a legacy PHP 5.6 app. Now here's the thing - no-one is using the PHP app anymore, but we do still have some old data on there that we made a decision not to port over to the new app. At the time it seemed like it wouldn't be a problem - just keep an old version of the app up for those who need to vie…

Can’t you hide it behind a vpn?

Re: PHP 5 and 7.0 end of life

#54
post #47
post #7

Somebody should fork PHP 5.6. There is a lot of Software still depending on it and it is unrealistic to expect companies to migrate millions of lines of third party code to PHP 7.

I really hope nobody does this. OS vendors backport security vulnerabilities, and that should be it. Like the other commenter said, PHO 5.6 to 7 upgrade isn't that hard. If it is, there's a very good chance they are doing something devastatingly wrong (like using mysql_ extension).

There are companies who do this for Ruby on Rails. If someone can’t upgrade, for whatever reason, they can pay a third party for security updates. It works pretty well.

Re: PHP 5 and 7.0 end of life

#55
post #15

isn't that ... too soon? the main reason i use PHP is because there is no time to rewrite stuff.

PHP 5 has been deprecated for several years now. PHP 7.0 was released in 2015, almost five years ago. The current version is PHP 7.3. While upgrading from PHP 5.4 or lower to 7 can be... interesting, it's not all that difficult or time-consuming. PHP 5.5 or higher to 7 is much easier.

We personally struggle to just keep Ubuntu updated with LTS releases, let alone managing all the updates to ensure software works on the new packages installed on whatever LTS version.

The issue is that when you have smaller companies with small web development departments you end up with a lot of differents sites/tools made over time. So now when it comes upgrade time you have a large pile of stuff that needs upgrading. One developer making new websites over a few years time isn't that crazy, so unfortunately you end up with a build-up of projects to update.

Yet while having time pressures to update, you also have pressures to continue to work on new things or fixing problems users have reported.

It usually comes down to time/money. Unfortunately dedicating time to updating things is never as high of a priority as making new things, adding new features, or fixing bugs. Because it follows the traditional mindset of it's working, why update it.

Re: PHP 5 and 7.0 end of life

#58

For a second, after reading the title, I thought PHP as a whole was end of life. That'd be fun. Which also made me think - does anybody know an example of a widely used programming language that voluntarily discontinued?

>Which also made me think - does anybody know an example of a widely used programming language that voluntarily discontinued?

Python 2

Re: PHP 5 and 7.0 end of life

#59
post #17

Yeah, yeah. Go tell that to my 10x php self-taught guy who's still running php 5.4 on a windows server 2003 in a wamp installation. He upgraded the bundled mysql with mariadb last year by dropping the executable in the folder (edit: just checked out, and the drop-in has been reverted back to mysql 5.0 because the upgrade path is impossible because apache 2.2). And of course this in-house guru for anything that happen…

The issue with PHP is devs like that guy.

So the issue is not breaking backwards compability in the "standard library" between versions?

Re: PHP 5 and 7.0 end of life

#60

For a second, after reading the title, I thought PHP as a whole was end of life. That'd be fun. Which also made me think - does anybody know an example of a widely used programming language that voluntarily discontinued?

>Which also made me think - does anybody know an example of a widely used programming language that voluntarily discontinued? Python 2

I don't think that really counts, given Python 3 and all.. plus it's not actually dead (yet) - https://pythonclock.org/
Post reply on HN