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

preview_player
Показать описание
Learn how to configure Apache to use a specific version of PHP and PHP-FPM on Ubuntu.

Check out my vlog channel @TonyFlorida

#php #phpfpm #apache
Рекомендации по теме
Комментарии
Автор

was pulling my hair out and have read 20 LAMP install tutorials before finding this. Thank you

andrewvalenzuela
Автор

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 !

akimdlanglois
Автор

Thank you Tony, very clear and helpful

anthonyhaddad
Автор

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!

Machiuka
Автор

hey i have followed this religiously to the T and configured php into apache perfectly down to the dang indentation and whenever my php file loads on my server which is debian it shows as plaintext and it wont be rendered as a php file

BigDickWonderHole
Автор

hi how enabled a2ensite newsite.conf with php-fpm 7.4

rainbowdouro
Автор

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.

joshuavanderpoll
Автор

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.

lands
Автор

how to replace the index.php file with a index.php file countaining the index for our web application ?

WWW
Автор

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.

mcyellen
Автор

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

prashkotak
Автор

This works with aws load balancer. This is the only video on the internet with this method.

jashwaaradhya
Автор

Excellent, but it would be helpful if you presented just a little more slowly. Thanks

ElegantSolutions
Автор

sir why you don't just here in the comment sectio the necessary to input like filesmatch

CH-zpzv