logoalt Hacker News

onion2ktoday at 4:54 PM3 repliesview on HN

That used to be a major selling point because hosts enabled PHP for a directory devs would FTP things into, but those days are thankfully long gone. I don't think it's any more difficult to host a JS, TS, or anything else, app than it is to host a PHP app today. In fact, PHP is probably more difficult than something like Netlify.


Replies

misiek08today at 5:25 PM

That’s also nice joke! You are all killing it today

trvztoday at 5:26 PM

Well, you’re quite fucking wrong there.

hrmtst93837today at 6:32 PM

With PHP you can still drop a single file on shared hosting and be up in minutes, with no build step or CDN proxy in the mix.

npm deps adds plenty of attack surface on its own. Netlify is fine until you need custom binaries or persistent storage, then it gets weird fast. PHP has plenty of warts, but the ops path stays flatter than Node for the boring case most sites need.