News for hackers. Stuff that matters.
Re:How Badoo Saved $1M Switching to PHP7 by rebootthesystem on Tuesday March 15, 2016 @12:14AM (#11287394)
Every time I deploy a Python site I think "man, this is so easy with PHP" and wonder if it might be worth switching back.
Re:How Badoo Saved $1M Switching to PHP7 by ludamad on Tuesday March 15, 2016 @12:51AM (#11287522)
Genuinely curious, what makes PHP so easy?
Re:How Badoo Saved $1M Switching to PHP7 by nathancahill on Tuesday March 15, 2016 @01:09AM (#11287566)
On the most basic level: Most shared hosting supports PHP out of the box. FTP files over, and done. Also, PHP can be run by loading a URL and returning HTML, no framework required.

On a higher level: It's much harder to get right.

Re:How Badoo Saved $1M Switching to PHP7 by collyw on Tuesday March 15, 2016 @04:51AM (#11288270)
Once you have a Python environment set up its just a matter of copying files over as well for an upgrade, so I guess a lot of it is down to web server configuration.
Re:How Badoo Saved $1M Switching to PHP7 by nathancahill on Tuesday March 15, 2016 @10:10PM (#11294501)
In what environment?
Re:How Badoo Saved $1M Switching to PHP7 by collyw on Friday March 25, 2016 @12:37PM (#11361027)
That has applied to Apache and Nginx configurations that I have used.

Git pull and the code is updated. Restart the web server and you are good to go.

Re:How Badoo Saved $1M Switching to PHP7 by kbenson on Tuesday March 15, 2016 @12:45AM (#11287504)
Unfortunately, there are still some security issues popping up on a regular basis[1]. Hopefully it's at least better than 5.6 in that respect though[2].

1: https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=php+7.x

2: https://cve.mitre.org/cgi-bin/cvekey.cgi?keyword=php+5.6.x