Re:How PHP Opcache Works
by Shish2k on Monday October 18, 2021 @11:32AM
(#28906506)
It still has by far the lowest barrier to entry for basic deployments (pick any random cheapo shared web host; FTP your files to it; done) - that counts for a lot in the real world, and I’m sad that nobody else is even trying to compete :(
[ Parent
| on HN ]
I'm surprised too. Every other language ecosystem seems to be competing for the Most Enterprise Tooling Chain award. Can you deploy it without an AWS expert? Not enterprise enough!
It seems to me that all that "serverless" stuff iscompetition
Re:How PHP Opcache Works
by withinboredom on Monday October 18, 2021 @12:17PM
(#28907165)
Yeah, I’d love to see some serverless php support since the language is made for that paradigm.
It is... and that's potentially part of the problem. The value proposition at the low-demand end of serverless is less clear for PHP, since it's pretty much had that value (throw files on a cheap host and forget about the vanishingly small cost) for two decades.
Still compelling for people who see spiky to high traffic and are happy to have scale reduced to an accounting/budgeting problem, of course, and I'm pretty sure Laravel has something like this.
Re:How PHP Opcache Works
by tomschlick on Monday October 18, 2021 @12:45PM
(#28907580)
Thats exactly what Laravel Vapor does on top of AWS Lambda: https://vapor.laravel.com/
You should have a look to Bref (https://bref.sh/)
Re:How PHP Opcache Works
by TrispusAttucks on Monday October 18, 2021 @01:07PM
(#28907834)
It is supported on [1] AWS Lambda with a PHP Runtime.
[1] https://aws.amazon.com/blogs/compute/introducing-the-new-ser...
I think AWS lambda supports php
Re:How PHP Opcache Works
by withinboredom on Monday October 18, 2021 @12:36PM
(#28907456)
There’s Bref for the Serverless framework but it only supports AWS and they have no desire to support any other frameworks.