How to run your PHP app in docker with MySql

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

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

  • @zoezoem6233
    @zoezoem6233 11 หลายเดือนก่อน +1

    OH MY GOD, I have no fucking idea what steps to follow to successfully complete my project, but THANKS TO YOU I have managed to create MY FIRST PHP PAGE VIA DOCKER. I have no experience using or installing docker, docker images etc. You are great. I love you. I can understand your pronunciation, I can understand your examples. I LOVE you. Thank you very much for your explanations

    • @TheCodeholic
      @TheCodeholic  11 หลายเดือนก่อน +1

      Your comment is so awesome.. Thanks a lot my friend.

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

    such a useful guide man, thumbs up! i got my project working in 1hour and now i don't need to always update the code on my vps server for developing a fronted, huge props to you!

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

    Well, that is just some quality content. Easy follow through and working. I love it (after several hours of reading documentation this is heaven).

    • @TheCodeholic
      @TheCodeholic  ปีที่แล้ว

      What a nice comment ❤️

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

    Also the meme clips that you add to the edit are so funny , sarcasm is a powerful tool .

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

    Thanks man, just finished watching the last video. Awesome work.

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

      Happy to read such feedback. Thank you.

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

    It is interesting to start building your framework

    • @TheCodeholic
      @TheCodeholic  ปีที่แล้ว

      Go for it.
      I think you will learn a lot.

  • @CesarRodriguez-nb2lm
    @CesarRodriguez-nb2lm 2 ปีที่แล้ว

    Wow just awesome, I just started to work for a company and they required me to quickly grasp and dominate docker, but in addition I need to fully comprehend laravel migrations, composer and mysql all in a dockrized file... if you could do tutorial on all thia man, right here you have a fan forever... I love the way you teach

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

    Great video. It would be cool if you did a video on moving your container to a Google Cloud VM

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

    Thank you so much, keep up the good work

    • @TheCodeholic
      @TheCodeholic  ปีที่แล้ว

      Thank you for your comment

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

    that's cool, appreciate your dedication

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

    Good idea!

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

    Thanks, your videos are great.👍
    I have a question, how can we add dynamic routing in this framework
    Something like "product/:slug"
    And have single product view to render the product with that specific slug?

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

      I have a video on exactly that topic. Please check PHP MVC Framework playlist.

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

    Do you need for each project a docker folder? And what about a project which rum on php 7.4 and you want to test on 8.1 do you need 2 sort of configs which you have to paste in dockerfile each time you wan to switch php version?

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

    amazing!

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

    very usefull 👍

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

    Sir..! Could you make a video yii2 RBAC step by step.

  • @globalruckus2174
    @globalruckus2174 11 หลายเดือนก่อน

    Just noting at the 9 minute mark that because the composer.json is not in the container, I was unable to install composer without first copying the composer.json contents from your github site to there. I had to also install vim in order to create the file there because I'm a n00b and couldn't figure out how to move the file there directly. Not even sure if I should need to move the composer.json to the /var/www file, but that's what I ended up doing to move forward.

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

    Thank you.

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

    Im still getting error: executor failed running [/bin/sh -c apt-get purge -y g++ && apt-get autoremove -y... Any ideas why this happening sir?
    When ommited apt-get purge part i cant access that image in browser saying: localhost refused connection

  • @devvvolf
    @devvvolf 16 วันที่ผ่านมา

    0:40 I changed windows for a moment and got scared by Olaf's voice. wth😂😂😂😂

    • @TheCodeholic
      @TheCodeholic  13 วันที่ผ่านมา +1

      🤣🤣🤣

  • @AtomTCP
    @AtomTCP 9 หลายเดือนก่อน

    what about htaccess

  • @olamidefalowo1407
    @olamidefalowo1407 ปีที่แล้ว

    will this method work if i use codeigniter 3 and posgresql 13?

  • @AliHassan-wc6nb
    @AliHassan-wc6nb 2 ปีที่แล้ว

    Champ! Just want to know how to implement multithreading in Php and perform Long running jobs. Preferably in yii2.

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

      Hi Ali,
      PHP does not have multithreading. The maximum result you can achieve is to start background scripts using shell_exec or exec and run PHP scripts (You can run yii2 console commands).

    • @AliHassan-wc6nb
      @AliHassan-wc6nb 2 ปีที่แล้ว +1

      @@TheCodeholic thanks bro! that I have done already using scheduler thanks champ! It always worderful to get your response! Lot of Respect for you!

    • @AliHassan-wc6nb
      @AliHassan-wc6nb 2 ปีที่แล้ว +1

      Pleas try to make a video on "Fibers" in php 8.1. How to use this.

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

      @@AliHassan-wc6nb at the moment I have plans for at least next 10 videos, we'll see in the future

    • @AliHassan-wc6nb
      @AliHassan-wc6nb 2 ปีที่แล้ว

      @@TheCodeholic I will wait till these 10 videos! Lol.

  • @nick4bizz42
    @nick4bizz42 ปีที่แล้ว

    Can this work with yii2 application? its been bugging me for a while.

  • @Saboor-Hamedi
    @Saboor-Hamedi ปีที่แล้ว

    Can someone please help me, I have got this error:
    Connection failed: SQLSTATE[HY000] [2002] Connection refused

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

    for some reason it wont change document root

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

    VSCode theme ?

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

      Material theme High contrast

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

    Can you make docker linux setup video !

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

      Yes I can, but there are already many videos on that topic

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

    iloveyou sir.

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

      I was getting suspicious.

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

    please tell me you have phpmyadmin in this too !

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

      No, I don't have. Sorry.
      I generally use other clients.
      Either PHPStorm Database tool or MySql workbench.
      In this video I connect to the database using MySql workbench. Which is free..

  • @beticohernandez9536
    @beticohernandez9536 ปีที่แล้ว

    Ok.

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

    ამის მერე ვისზე ნაკლებიღა იქნება ჩვენი frameworkი?!

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

      😀 დავაი გავყიდოთ

  • @NargisGasimli-qb1qv
    @NargisGasimli-qb1qv 7 หลายเดือนก่อน

    Could you please help me? In the previous video we changed all namespaces. We created package from the core folder. However in this video we deleted the vendor and now I encountered this problem:
    Fatal error: Uncaught Error: Class "Nirya\PhpMvcCore\Application" not found in /var/www/public/index.php:22 Stack trace: #0 {main} thrown in /var/www/public/index.php on line 22.
    When I want to install the package again I encountered this problem:
    Root package 'nirya/php-mvc-core' cannot require itself in its composer.json
    How can I solve this problem? :(

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

    very usefull 👍