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.
[ Parent
| on HN ]
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.
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?
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.
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