Welcome to /c/php! This is a community for PHP developers and enthusiasts to share and discuss anything related to PHP. From the latest updates and tutorials, to your burning questions and amazing personal projects, we welcome all contributions.
Let's foster an environment of respect, learning, and mutual growth. Whether you're an experienced PHP developer, a beginner, or just interested in learning more about PHP, we're glad to have you here!
I noticed that if you have too few pm_children set then some requests hang until timeout. This surprised me - I'd expect an immediate error, but it's more like a tarpit! For ages I was thinking my server was not performant, then I noticed via top that it wasn't doing or waiting while the browser was.
I have two questions:
If you have pm_max_children=1 and you occupy that and submit another request, what actually happens? (I'm proxying through nginx.) HTTP doesn't have a "40_ Come back later".
(if life deals you lemons...) if you can generate a tarpit that doesn't use server resources, this could be quite useful to know about too!
Relaunching our Symfony case studies! Discover how Upply tackled tough tech decisions like sticking with PHP for scalability and performance with Florent Laval
Link Actions
My TLDR is:
Their team was using PHP
Before doing a complete re-write they evaluated other languages
Rust ruled out due to cost/benefit, being the fastest in the list, but also the most complex
PHP kept as the main language because:
The ecosystem is mature
The PHP/Symfony (and Roadrunner) stack meets their high-performance needs
Inertia: their team "already had extensive experience" in it
They already integrated Go in some microservices
They aren't locked to PHP, and will continue to evaluate these programming languages and others
PHP 8.4 is a major update of the PHP language. It contains many new features, such as property hooks, asymmetric visibility, an updated DOM API, performance improvements, bug fixes, and general cleanup.
CMS built as a Symfony Bundle. Contribute to SeleneSoftware/SeleneCMS development by creating an account on GitHub.
Link Actions
I've been working on this on and off, could use some other eyes to help expand features, maybe some pull requests. Let me know what you think. I just uploaded version 0.0.12 and I am going to start working on 0.0.13. The CMS is built in a bundle, so that's where most of the features are. What I have linked here is the skeleton app, but installation is still beefy. Thanks everyone!
The PHP release cycle changes to extend the active support for all current and future PHP versions from one year to two years, and to align the support timelines to the end of the calendar year.
I want to try to migrate from PHPStorm to VSCode, what plugins to get to have the experience similar? I mean the code inspections, renaming, usage etc. Will PHL Intelephense plugin be all I need to achieve this? with xdebug and phpunit plugins in addition to that, or there are some other plugins that make the transition better?