Configuring and Troubleshooting PHP-FPM

  Рет қаралды 5,360

Chris Fidao

Chris Fidao

Күн бұрын

Пікірлер: 16
@FarazSamapoor
@FarazSamapoor Жыл бұрын
I'm always in need of knowing more about server configurations. Thanks for the concise explanation, Chris!
@jeffreykroonen
@jeffreykroonen Жыл бұрын
Thanks for the clear explanation! You’re posting great and helpful content. Keep it up!
@MatthewSetter
@MatthewSetter Жыл бұрын
Thanks for a very clear and succinct video on the topic. I think, periodically, I noticed video artifacts, but they weren't overly distracting. Looking forward to the next video.
@fideloper
@fideloper Жыл бұрын
thanks! I think (guessing) that’s related to the sun shining differently as clouds moved in front of it (maybe the software doesn’t handle that well when exporting). Unsure!
@vaviloffx
@vaviloffx Жыл бұрын
Thnks Chris, this is a very useful reminder to tune the php-fpm settings, completely forgot to do so after moving to a dedicated server 😅
@Akhzar1000
@Akhzar1000 Жыл бұрын
You earned a sub, greatly explained
@kurshadqaya1684
@kurshadqaya1684 Жыл бұрын
Thank you! You explain in an easy way.
@fideloper
@fideloper Жыл бұрын
Glad it's useful!
@ricardo.fontanelli
@ricardo.fontanelli Жыл бұрын
great explanation as always 👏
@falkowoudstra
@falkowoudstra Жыл бұрын
I love "run your code" is the Laravel logo 🤣💪🏻
@manchineel
@manchineel Жыл бұрын
I am delving into this mess right now. I am testing out the other MPMs like event and worker to increase performance on a server. I am a little confused by the difference between the PHP FPM settings here and the ones with similar names in the Apache modules config files.
@fideloper
@fideloper Жыл бұрын
Hi! I believe the settings when configuring Apache's Mod PHP process model are different. Apache CAN use php-fpm if it proxies requests off to php-fpm over fastcgi, however Apaches PHP module works differently (without PHP-FPM) so the process settings may be doing different things (especially depending on which module you use, as they spin up processes / child processes in a different way). I don't recall the exact details on how tho!
@JohnnyBigodes
@JohnnyBigodes Жыл бұрын
I was just searching on how to set the max_children and found this very helpful video. What could be a good way to measure the peak memory taken for each request? Thank you in advance
@fideloper
@fideloper Жыл бұрын
Hey! The video mentions these options: 1. Laravel debugbar (most useful in dev, should be accurate enough for production tho) 2. Add some app logging that prints out the memory_get_peak_usage() method for a given request (my favorite cheap option) 3. Using some third party APM tools like Sentry, New Relic, DataDog, etc
@jelajahmania
@jelajahmania Жыл бұрын
how to optimize php fpm for 10000 req per sec , with nginx,mysql,laravel
@fideloper
@fideloper Жыл бұрын
10,000 RPS is at a scale where you pay someone to do that for you. Short answer is: Load balancers and a bunch of web servers on the web end, and very large mysql servers (and perhaps read replicas) on the backend.
PHP-FPM vs Swoole execution model
15:36
Mateus Guimarães
Рет қаралды 7 М.
All you need to know about FastCGI Process Manager (FPM)
12:44
Daniel Persson
Рет қаралды 18 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН
Гениальное изобретение из обычного стаканчика!
00:31
Лютая физика | Олимпиадная физика
Рет қаралды 4,8 МЛН
小丑女COCO的审判。#天使 #小丑 #超人不会飞
00:53
超人不会飞
Рет қаралды 16 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
PHP улучшаем производительность: настройки PHP-FPM
20:16
Андрей Шестаков
Рет қаралды 17 М.
The secret behind FrankenPHP: Will it revolutionize PHP?
12:40
Chris Fidao
Рет қаралды 45 М.
Why the Biggest Companies on the Internet Use Nginx
2:17
Harrish
Рет қаралды 3,5 М.
Using Generics with PHP
25:55
Laracasts
Рет қаралды 15 М.
HTTP Load Balancing with Caddy
13:37
Linux Training Academy
Рет қаралды 1,9 М.
Why is My Webserver Hanging?!? (Spoiler: It was PHP-FPM)
9:31
Shawn Powers
Рет қаралды 8 М.
How Nginx and PHP-FPM turn a web request into code
7:08
Chris Fidao
Рет қаралды 4,3 М.
SSH Keys
10:12
RobEdwards
Рет қаралды 131 М.
Optimizing nginx and PHP-FPM - from Beginner to Expert to Crazy | Arne Blankerts
1:06:10
International PHP Conference
Рет қаралды 25 М.
How to Configure PHP for Nginx with PHP-FPM on Ubuntu
10:22
Tony Teaches Tech
Рет қаралды 60 М.
黑天使只对C罗有感觉#short #angel #clown
00:39
Super Beauty team
Рет қаралды 36 МЛН