Live data from Hacker News

PHP 5 and 7.0 end of life

hackertarget.com

61–70 of 122 posts

Re: PHP 5 and 7.0 end of life

#62

Earlier quoted context omitted.

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

Adobe seems like it would prefer to pretend it doesn't exist at this point though

They're having a Vegas conference in October. It's not exactly abandoned. I can't imagine it's one of their top three priorities or anything, sure.

Re: PHP 5 and 7.0 end of life

#63
post #55

Earlier quoted context omitted.

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 upgrad…

> We personally struggle to just keep Ubuntu updated with LTS releases

This is a little like having the money to buy a hand-made car, but only being able to afford ever other oil change.

Re: PHP 5 and 7.0 end of life

#64

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…

I’ve just finish (yesterday night) to move old websites I host from a PHP 5.2 VM to 5.6 Some of them are more than 10 years old ! And as they represents a good share of my profits, I can’t dump them. I think I saw a Joomla 1.5. Those clients don’t want to pay someone to upgrade or redo their site. There are several intranets that will not support PHP 7 because they use the old mysql_ functions... So even I loose a lo…

In addition to the shim and compat libs recommended, I've had decent luck with the converter tool (https://github.com/philip/MySQLConverterTool). It goes a bit out of its way to be compatible so one function call can get expanded into a global var + function call.

phpcs + PHPCompatibility ruleset is pretty good about finding issues as well.

Re: PHP 5 and 7.0 end of life

#66
post #30
post #19

Earlier quoted context omitted.

> Magento is not exactly known for well written code As are many/most PHP 5.6 projects > Probably their code should not be used. In reality it is - unfortunately. And many smaller companies don't have the capacity to change.

Those smaller companies will find out maintenance is costly either way.

And it's worse than just maintenance cost. Do you think a good PHP dev wants to join a shop that's still on 5?

Re: PHP 5 and 7.0 end of life

#67

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…

lol, you had me until "dockerizing".

Re: PHP 5 and 7.0 end of life

#68

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…

> I am in the process of dockerizing almost everything in sight

How many other individuals in this clearly legacy organization have the knowledge and experience to take over your "superior" variant of technical debt once you get sick of the job and move to something trendier?

Re: PHP 5 and 7.0 end of life

#69

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?

I think some people put VB6 in this bucket, because VB.NET wasn't really the same thing (they are more different than e.g. Python 2 vs. 3, AIUI).

Re: PHP 5 and 7.0 end of life

#70

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…

I’ve just finish (yesterday night) to move old websites I host from a PHP 5.2 VM to 5.6 Some of them are more than 10 years old ! And as they represents a good share of my profits, I can’t dump them. I think I saw a Joomla 1.5. Those clients don’t want to pay someone to upgrade or redo their site. There are several intranets that will not support PHP 7 because they use the old mysql_ functions... So even I loose a lo…

Thanks for the suggestions, but my problem remains : who's gonna pay me to do this :-)

It's mainly what prevents me to migrate them by myself. It's a lot of work and no one wants to pay for it.

So it remains on a VM and if it brokes, they were alerted it could happen.

Post reply on HN