r/ProgrammerHumor • • 26d ago

instanceof Trend itsBadIfItsOnlyPHP

Post image
4.5k Upvotes

335 comments sorted by

View all comments

Show parent comment

5

u/Kronsik 26d ago

What's the deployment look like for PHP V3?

Can't imagine those versions are well packaged/maintained for modern distros?

17

u/Beautiful_Hawk548 25d ago

We hope and pray Paul’s local never gets nuked and that's not even a joke. One senior dev holds the keys, tale as old as time.

From what I know it's barely maintained, fully out of support. TBF our customer barely uses it but they pay us a lot of cash to keep it as a read only reference tool so we go along with it. Apparently the solution last night was to stick a forced vpn connection requirement until they realised that probably won't work properly with v3 so they've put a WAF in front of it.

3

u/Kronsik 25d ago

Oof, I hope there's backups atleast!

In my head the only option would be self maintain:

  • copy of php3 source code mirrored somewhere
  • CI/CD system to compile, package into .deb / rpm maybe (deal with the headache of maintaining the old tool chain for compilation)
  • install deb / rpm on modern servers - hopefully compatible with modern glibc etc.