4 ms·
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 migh
by Uptrenda 3y ago
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...
- Gigachad 3y agoBeing able to host for free on dodgy free hosting is hardly a benefit anyone should care about.
- lostdesign 3y agoYou 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.
- Gigachad 3y agoYou can throw basically anything on lambda. That’s hardly a feature of php
- polyamid23 3y agoMight be useful for teenagers / people with no disposable income to start trying web related stuff from a public library.
- Gigachad 3y agoMaybe? 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.