Benjamin Eberlei

@beberlei@phpc.social
874 Followers
78 Following
219 Posts
Founder and performance detective at https://tideways.com - hosting the Undercover ElePHPant podcast (https://undercover-elephpant.com). Open-Source contributor to Doctrine and PHP-SRC.

I converted my popular "What is new in PHP 8.4: Performance, Operations, Debugging" blog post into a video on YouTube: https://www.youtube.com/watch?v=Raw8haMsahQ

Adoption for PHP 8.4 is still single digits, so still lots of people that might be interested in these changes while upgrading in the next weeks and months.

Performance, Operations and Debugging Improvements in PHP 8.4

YouTube

With PHP 8.5 we get Connection, DNS and SSL Sessions sharing across requests with cURL.

I made a video showing how this works and discuss the performance potential https://www.youtube.com/watch?v=wr_Jnrc2has - a short @mnapoli cameo included

#php #curl #php8 #php8_5

Share cURL Handle across PHP Requests (New in PHP 8.5)

YouTube

Just published: My article on PHP Best Practices in Production is in the latest PHP magazin (in German)!

It covers:
- Performance and deployment tips
- Monitoring and error handling
- Common real-world mistakes to avoid

Read the full article: https://entwickler.de/php/produktiver-einsatz-php-best-practices

#PHP #WebPerformance #DevOps #Monitoring #Observability #Tideways #SoftwareEngineering #EntwicklerMagazin

Was ist heute wichtig für den produktiven Einsatz von PHP?

Wir betrachten aktuelle Best Practices und Werkzeuge, die für den PHP-Betrieb im Jahr 2025 und in Zukunft wichtig sind.

entwickler.de

At @FrOSCon this weekend, on talks by @andypiper on Mastodon and @isotopp on filesystems.

#froscon

Call with a customer a few weeks ago and learned a new way to bite yourself.

Changing opcache memory settings with php_admin_value directives in FPM or Apache has no effect.

This setting is php.ini only. php_admin_value can usually change system settings, but in this case its too late, it was already used with the lower default value.

500ms win!

My colleague @timwolla made a change to PHP to be included in 8.5 that prevents this from going under in the future: https://github.com/php/php-src/pull/19146

How you can achieve some level of async processing in PHP using Symfony HTTP Client, Guzzle or cURL.

I published a video on a small refactoring on our own @Tideways codebase to use parallel HTTP requests to reduce time spent talking to a microservice.

https://www.youtube.com/watch?v=ZqgpglmtK5c

#php #symfony #guzzle #curl

How to run HTTP requests in parallel in your PHP application

YouTube

Published my first #PHP release today as the responsible Release Manager.

So I’m delighted to say:

8.5.0alpha2 is ready for testing now.
https://externals.io/message/128094

Big thanks to Pierrick Charron for the onboarding and support. Really helped me get into the process.

And a big thanks to @Tideways and my colleagues there for supporting me in doing this.

#php85 #release

[RFC] Soft-Deprecate __sleep() and __wakeup() - Externals

#externals - Opening PHP's #internals to the outside

Thinking about turning on OPcache Preloading in your PHP app?

It sounds like an easy win—but unless your app is already lightning fast, you might not see much benefit.

In our latest post, we dig into:

- What preloading actually does
- When it’s useful (and when it’s not)
- Real-world gains with hard numbers

Check it out! https://tideways.com/profiler/blog/should-you-use-opcache-preloading-in-your-php-app?utm_medium=social&utm_source=mastodon&utm_campaign=should-you-use-opcache-preloading-in-your-php-app

#PHP #OPcache #Performance #WebDev #Backend #DevTips #Tideways

100 subscribers on the @Tideways YouTube channel, almost 2000 views on 12 videos 🥳

This is a really fun journey and learning experience we started 3 month ago: https://www.youtube.com/@TidewaysPHP

Before you continue to YouTube

Honestly took me a while to give OPcache preloading a try - here is video explaining how to set it up and what types of #PHP applications benefit from preloading, and which don't

https://www.youtube.com/watch?v=wkhpNd7aYV8&feature=youtu.be