News for hackers. Stuff that matters.
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 :(
Re:How PHP Opcache Works by ehnto on Monday October 18, 2021 @11:46AM (#28906712)
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!
Re:How PHP Opcache Works by slim on Monday October 18, 2021 @12:06PM (#28907018)
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.
Re:How PHP Opcache Works by wwweston on Monday October 18, 2021 @12:53PM (#28907676)
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/
Re:How PHP Opcache Works by BafS on Monday October 18, 2021 @02:50PM (#28909767)
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...

Re:How PHP Opcache Works by sroussey on Monday October 18, 2021 @12:31PM (#28907391)
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.