News for hackers. Stuff that matters.
Re:Go with PHP by Uptrenda on Thursday May 11, 2023 @01:04AM (#35897781)
Also: lets not forget one very important and under-rated side-effect of PHP -- it lets you write server-side code that can leverage a 'public' address. You might think 'well, doesn't everything let me do that?' Not quite. On 'free' VPS servers they usually have 'ephemeral' IPs or IPs that change. So while you get free bandwidth and compute -- it's hard to actually do anything useful with it like run a service if you don't have a public address. With PHP it's assumed it will be accessed from the web so if you run it on free shared hosting you get that accessibility built in.

PHP is very good for writing services that cost literally nothing because you can run it on free hosts like 000webhost that give you everything you need to host complex services (upload, database, sub-domains, and more.) It's perfect for budget devs or maybe devs that want to make their infrastructure more resilient to ah... financial upsets...

Re:Go with PHP by Gigachad on Thursday May 11, 2023 @05:31AM (#35899811)
Being able to host for free on dodgy free hosting is hardly a benefit anyone should care about.
Re:Go with PHP by lostdesign on Thursday May 11, 2023 @05:45AM (#35899905)
You can throw it into lambda or vercel for that matter too. Yes you can use sketchy hosts but still can use legit ones too to host for free or very little money.
Re:Go with PHP by Gigachad on Thursday May 11, 2023 @08:34AM (#35901175)
You can throw basically anything on lambda. That’s hardly a feature of php
Re:Go with PHP by polyamid23 on Thursday May 11, 2023 @08:36AM (#35901189)
Might be useful for teenagers / people with no disposable income to start trying web related stuff from a public library.
Re:Go with PHP by Gigachad on Thursday May 11, 2023 @07:15PM (#35909631)
Maybe? That’s still not a super great selling point for a language.

When I was a teenager I used to host sites on an old android tablet. These days if you have a credit card, you can make use of the free plans most platforms have and free credit, especially if you have an .edu email.