How to Configure PHP (and PHP-FPM) for Apache on Ubuntu

  Рет қаралды 35,003

Tony Teaches Tech

Tony Teaches Tech

Күн бұрын

Learn how to configure Apache to use a specific version of PHP and PHP-FPM on Ubuntu.
Find more at tonyteaches.tech
Check out my vlog channel ‪@TonyFlorida‬
#php #phpfpm #apache

Пікірлер: 33
@andrewvalenzuela1790
@andrewvalenzuela1790 2 жыл бұрын
was pulling my hair out and have read 20 LAMP install tutorials before finding this. Thank you
@Coatzintla
@Coatzintla 3 ай бұрын
You're my hero, rarely I push the like buttom but you deserve a one more suscriber
@akimdlanglois
@akimdlanglois 3 жыл бұрын
ALL your videos are so good you teach better than all my teachers thank you very much for making me understand you made my week and also made my semester way easier.. I will recommend your videos !
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Appreciate that! Thanks for watching :)
@Machiuka
@Machiuka 2 жыл бұрын
Finally you show me the solution. After reinstalling apache php didn't work and a2enconf php7 didn't work either. Now all is back to normal. Thank you!
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
You're welcome. Good luck
@Gersberms
@Gersberms Ай бұрын
In the first half, the most interesting thing about all this is something you didn't explain. How Apache uses the FastCGI proxy to communicate with PHP and how the FastCGI proxy handles PHP processes. I'm going to have to find some material that covers this in more detail.
@anthonyhaddad5630
@anthonyhaddad5630 3 жыл бұрын
Thank you Tony, very clear and helpful
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
Glad it was helpful!
@jashwaaradhya2989
@jashwaaradhya2989 2 жыл бұрын
THE ONLY TUTORIAL !!!!
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
:)
@thatsenam9183
@thatsenam9183 2 жыл бұрын
OMG What a video quality.
@ElegantSolutions
@ElegantSolutions Жыл бұрын
Excellent, but it would be helpful if you presented just a little more slowly. Thanks
@JuanGarcia-yl7me
@JuanGarcia-yl7me 2 жыл бұрын
Great video
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Thanks!
@mrg3921
@mrg3921 2 жыл бұрын
Thanks!
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
You're welcome!
@Rafael_hobby
@Rafael_hobby 7 ай бұрын
FINALLY
@jashwaaradhya2989
@jashwaaradhya2989 2 жыл бұрын
This works with aws load balancer. This is the only video on the internet with this method.
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Glad it helped
@joshuavanderpoll5452
@joshuavanderpoll5452 3 жыл бұрын
Thank you for the explanation. Are you planning on making a video about PHP-FPM apache2 about how to use a new pool for every separate website (No www-data but custom users per website, chroot directory ect). I'm working on a shared hosting server and can't find anything online thats up to date.
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
I'm not making a video on this topic, but as you have pointed out, it will entail creating new user accounts to run the other sites under
@CH-zp1zv
@CH-zp1zv 9 ай бұрын
sir why you don't just here in the comment sectio the necessary to input like filesmatch
@W0W1W4
@W0W1W4 7 ай бұрын
how to replace the index.php file with a index.php file countaining the index for our web application ?
@rainbowdouro4391
@rainbowdouro4391 2 жыл бұрын
hi how enabled a2ensite newsite.conf with php-fpm 7.4
@lands1459
@lands1459 Жыл бұрын
tried this, php isn't running. what do i do? edit: ran a2enmod and now i get http 503, i tried rebooting the system and same error.
@mcyellen63
@mcyellen63 2 жыл бұрын
Super helpful video, but running into issue where phpinfo() tag isn't rendering. I created a new site and know it's configured correctly within apache since I can see it. But the phpinfo doesn't appear when the index.html is rendered. Gotta be missing something.
@TonyTeachesTech
@TonyTeachesTech 2 жыл бұрын
Yeah that's what it sounds like. Not able to tell from here
@seangill2399
@seangill2399 2 жыл бұрын
the file needs to be .php not .html
@prashkotak
@prashkotak 3 жыл бұрын
Hello Tony can you please bring same video for rhel or centos, also what is the different between modphp and php-fpm and cgi , could you please bring nice video here , there is no proper resources/video avaliable any where
@TonyTeachesTech
@TonyTeachesTech 3 жыл бұрын
I do not work with RHEL or CentOS. Perhaps I can consider this in the future
How to Configure PHP for Nginx with PHP-FPM on Ubuntu
10:22
Tony Teaches Tech
Рет қаралды 59 М.
Apache Virtual Hosts
40:20
Nerd on the Street
Рет қаралды 104 М.
When u fight over the armrest
00:41
Adam W
Рет қаралды 23 МЛН
Family Love #funny #sigma
00:16
CRAZY GREAPA
Рет қаралды 43 МЛН
Optimizing nginx and PHP-FPM - from Beginner to Expert to Crazy | Arne Blankerts
1:06:10
International PHP Conference
Рет қаралды 25 М.
PHP Docker Tutorial - Nginx - PHPFPM VS Apache - Full PHP 8 Tutorial
14:39
Why is My Webserver Hanging?!? (Spoiler: It was PHP-FPM)
9:31
Shawn Powers
Рет қаралды 7 М.
Installing Apache 2.4 & PHP 8.0 on Ubuntu 20.04
10:58
Aryans & Sierra (The It Guy)
Рет қаралды 12 М.
Easy rsync Backup with tar and cron (daily, weekly, monthly)
22:14
Tony Teaches Tech
Рет қаралды 50 М.
Complete Jenkins Pipeline Tutorial | Jenkinsfile explained
35:06
TechWorld with Nana
Рет қаралды 792 М.
PHP Crash Course for beginners
27:43
packetcode
Рет қаралды 52 М.
All you need to know about FastCGI Process Manager (FPM)
12:44
Daniel Persson (Kalaspuffar)
Рет қаралды 17 М.
NGINX Tutorial - What is Nginx
14:32
TechWorld with Nana
Рет қаралды 249 М.
Нормальний бутерброд 2🔥
0:57
Igor Shpigunov
Рет қаралды 5 МЛН
РЫБА в СТОЧНЫХ канавах ЯПОНИИ 😯 #Shorts
0:37
ФАКТОГРАФ
Рет қаралды 602 М.
ToRung comedy: bodybuilding😂
0:28
ToRung
Рет қаралды 4 МЛН
Еле упаковались 😮🔥🚢
0:41
Vertikal News
Рет қаралды 1,1 МЛН
Hoodie gets wicked makeover! 😲
0:47
Justin Flom
Рет қаралды 97 МЛН