How to Deploy a PHP and MySQL Web App in Kubernetes

Поделиться
HTML-код
  • Опубликовано: 12 сен 2024
  • Source Code : www.shawonruet...
    Need More Guidance? Book a Meeting with me: topmate.io/ash...
    Best DevOps Books That You Must Read: amzn.to/4bPG6B6
    10+ DevOps Books That You Must Read : amzn.to/3UoFhc8
    #PHP #MYSQL #Kubernetes

Комментарии • 23

  • @nyvdrtngryd
    @nyvdrtngryd 2 года назад

    sweet, this is what i've been searching for

  • @georgeradu3759
    @georgeradu3759 Год назад

    Great work,man

  • @citrasariindah3666
    @citrasariindah3666 4 года назад

    hallo, thank you for your tutorial, this is helps me a lot.

  • @gilangadhiwibowo4953
    @gilangadhiwibowo4953 4 года назад +2

    WHERE IS THE SOUND?

  • @2771237
    @2771237 Год назад

    Thanks Bro :)

  • @rakeshmali1727
    @rakeshmali1727 3 года назад +1

    it would be better with the sound...

  • @OfficialGOD
    @OfficialGOD 3 года назад

    No sound perfect

  • @nagasatishvadlamuri8486
    @nagasatishvadlamuri8486 3 года назад

    hi i tried and deploy in kubernetes but not connecting database ..error through in browser
    Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/config.php on line 8
    Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/www/html/config.php:12 Stack trace: #0 {main} thrown in /var/www/html/config.php on line 12

    • @AshadullahShawon
      @AshadullahShawon  3 года назад

      create a config.php file under /var/www/html folder that i did in my project

    • @GJ-uc3ok
      @GJ-uc3ok 2 года назад

      Hi guys we

  • @citrasariindah3666
    @citrasariindah3666 4 года назад

    I have successfully created php and mysql, but an error occurs when I input comments. ": mysqli_connect(): php_network_getaddresses: getaddrinfo failed: Temporary failure in name resolution in on line

    • @AshadullahShawon
      @AshadullahShawon  4 года назад

      Please pass correct host, username , password, and databsename to mysqli_connect() function otherwise it will show this error

    • @citrasariindah3666
      @citrasariindah3666 4 года назад

      @@AshadullahShawon i have correct host, username , password, and databasename to mysqli_connect().. but I still found the same problem.

    • @sumithsps007
      @sumithsps007 3 года назад

      @@citrasariindah3666 kubernetes core dns issue, i also faced the same

    • @jonathansantucho262
      @jonathansantucho262 3 года назад +1

      @@sumithsps007 in terminal > minikube.enable dns
      and works

    • @sonamchophel-nb5px
      @sonamchophel-nb5px 3 месяца назад

      @@AshadullahShawon where is deployment materials?

  • @alakhmiri1003
    @alakhmiri1003 Год назад

    hello please i need help for this
    hi i tried and deploy in kubernetes but not connecting database ..error through in browser
    Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/config.php on line 8
    Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/www/html/config.php:12 Stack trace: #0 {main} thrown in /var/www/html/config.php on line 12

    • @mxssrw
      @mxssrw Год назад

      +1 same problem 😥

    • @AshadullahShawon
      @AshadullahShawon  Год назад

      Check your project path and source code configuration

  • @peterkantapon6071
    @peterkantapon6071 Год назад

    Please help
    Warning: mysqli_connect(): (HY000/2002): No such file or directory in /var/www/html/config.php on line 8
    Fatal error: Uncaught Error: Call to undefined function mysql_error() in /var/www/html/config.php:12 Stack trace: #0 {main} thrown in /var/www/html/config.php on line 12