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

แชร์
ฝัง
  • เผยแพร่เมื่อ 17 พ.ย. 2024

ความคิดเห็น • 33

  • @andrewvalenzuela1790
    @andrewvalenzuela1790 2 ปีที่แล้ว +1

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

  • @akimdlanglois
    @akimdlanglois 3 ปีที่แล้ว +5

    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 :)

  • @Coatzintla
    @Coatzintla 3 หลายเดือนก่อน

    You're my hero, rarely I push the like buttom but you deserve a one more suscriber

  • @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!

  • @Gersberms
    @Gersberms 2 หลายเดือนก่อน

    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 ปีที่แล้ว +2

    Thank you Tony, very clear and helpful

  • @jashwaaradhya2989
    @jashwaaradhya2989 2 ปีที่แล้ว

    THE ONLY TUTORIAL !!!!

  • @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

  • @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

  • @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.

  • @W0W1W4
    @W0W1W4 7 หลายเดือนก่อน

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

  • @Rafael_hobby
    @Rafael_hobby 7 หลายเดือนก่อน

    FINALLY

  • @mrg3921
    @mrg3921 3 ปีที่แล้ว +1

    Thanks!

  • @CH-zp1zv
    @CH-zp1zv 10 หลายเดือนก่อน

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

  • @jashwaaradhya2989
    @jashwaaradhya2989 2 ปีที่แล้ว

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

  • @JuanGarcia-yl7me
    @JuanGarcia-yl7me 2 ปีที่แล้ว

    Great video

  • @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 ปีที่แล้ว +1

      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