Ey great video. Some notes as of 2024 December `docker compose` not `docker-compose` (I forgot which version since this changed). `phpmyadmin/phpmyadmin` image in the docker-compose.yml doesn't work for Mac Silicon. Change this to `phpmyadmin:latest` instead which is multi-arch and should work for Mac Silicon.
Great tutorial! I was stuck with the mysqli dependency error and you are the only one who managed to find the way. This is a great method as now i can update anything like the way things done when not using Docker
a doubt, if you work on the development of a web site with docker, every time you make a change in some of the views, or code, you have to update the whole image again?
Excelente tutorial! Ajudou bastante. Mas, como faria pra instalar o mysqli já no momento que o container php sobe ? sem a necessidade de fazer isso manualmente ?
Im trying to dockerize a php mysql application thats i already done. Tho I didnt use any mysqli queries in my app. I used only PDO globals all around. Do I have to change the last part to a different method instead of mysqli to a pdo? I really have to read the doc on that. Thank you tho.
Hey there, glad to meet you again with another enquiry. Is there any approach or tools through which i can design sql applications that is simultaneously compatible with both Mac and windows systems. The application is not tied to a website but it is an application to be placed over a network in a company (client-server relation network). Thanks for giving me any advice on this.
Awesome tutorial! What if i dont want to write the "docker-php-ext-install mysqli" command every time i start up my container - can i use a dockerfile for this ? and then where to put it and what should i write in it ?
Yes, create a Dockerfile and add the following: FROM php:8.2-apache RUN docker-php-ext-install mysqli RUN service apache2 restart Then replace 'image: php:apache' with 'build: .' in the yml file (if the Dockerfile is in the same directory as the yml-file).
Unfortunately this tutorial only works if you want to run it on your device or others' device through localhost, you can't deploy it to a remote host. :(
If anyone is trying to deploy a full-stack PHP, MySQL, and Apache Web, refrain from using Docker if you don't have a solid understanding of it. I found this playlist of tutorials to deploy it through a Linux VM (DigitalOcean droplet). This is better if you are a beginner. www youtube com/playlist?list=PL4apNHBRJVlQ56Pj3BS2CfxhavTAV3MLd
Ey great video. Some notes as of 2024 December
`docker compose` not `docker-compose` (I forgot which version since this changed).
`phpmyadmin/phpmyadmin` image in the docker-compose.yml doesn't work for Mac Silicon. Change this to `phpmyadmin:latest` instead which is multi-arch and should work for Mac Silicon.
Great callouts - thanks for the notes!
Great tutorial! Best one I've seen on this so far, actually. Thank you!
1:50 funny bro. btw recently I'm using docker more than any other tool because of easy configurations like that. really good
You just won a free subscriber :) This tutorial was all I needed to solve a puzzle I had.
Excellent, clear tutorial - so much easier than fighting with PHP versions on Ubuntu with WSL.
Great tutorial! I was stuck with the mysqli dependency error and you are the only one who managed to find the way. This is a great method as now i can update anything like the way things done when not using Docker
Bro, you saved my final project, really really thank you. You explain very very well, and i hope you still make quality content like this. Keep it up!
Well done! You have a great nack for these tutorials, and a great speaking voice, keep it up!
One of the BEST tutorial I have found. Thank you so much.
thanks man, this was very helpful, i wish i could've found your tutoriel earlier, it would have saved me a from a lot of struggle
Thank you for the video, exactly what we needed.
You explained it so well :)
I'm a new to docker, thanks for you tutorial. this makes me figure out that what docker is...
a doubt, if you work on the development of a web site with docker, every time you make a change in some of the views, or code, you have to update the whole image again?
Thanks dude! Great tutorial this really helped me a lot!
One thing feels off. Why do you need to "install" mysqli every time docker runs the image?
how did you installed it? I'm new to docker and didn't get it
Amazing Work... really easy to follow
Excelente tutorial! Ajudou bastante. Mas, como faria pra instalar o mysqli já no momento que o container php sobe ? sem a necessidade de fazer isso manualmente ?
thanks it works, i just want to know how to add extension when in docker yml file?
Very nice and detailed tutorial.
My friend, when I wrote docker-compose up in the terminal I got no configuration file provided: not found what should I do?
do we have to manually install mysql cli is there a docker image php-apache-mysqlcli that has already included
After I recompose the container, will I have to reinstall the `sqli` package again?
everything works as shown but do you know how to get live reload working for this dev setup?
Can this be used in production to host my own website? Also, will you please talk about SSL?
Great walkthrough. Nowhow do you deploy this on remote host?
would it not be easier to save the mysql data directory to localhost via volume, or am i missing something? ps: newbie to docker
thank you so much, I leant a lot from you today
Im trying to dockerize a php mysql application thats i already done. Tho I didnt use any mysqli queries in my app. I used only PDO globals all around. Do I have to change the last part to a different method instead of mysqli to a pdo? I really have to read the doc on that. Thank you tho.
Nice, but why htaccess doesn't work. How do I fix it?
Nice explanation ❤
Thank you so much, keep up the good work
Would I be able to have read and write permissions to create new files for example with this docker setup?
Thank you for resolving fatal error mysqli.
Can we have this setup done with DevContainers in vscode ?
Hey there, glad to meet you again with another enquiry.
Is there any approach or tools through which i can design sql applications that is simultaneously compatible with both Mac
and windows systems. The application is not tied to a website but it is an application to be placed over a network
in a company (client-server relation network).
Thanks for giving me any advice on this.
Thank you so much :) you really helped me out
Awesome tutorial!
What if i dont want to write the "docker-php-ext-install mysqli" command every time i start up my container - can i use a dockerfile for this ? and then where to put it and what should i write in it ?
Yes, create a Dockerfile and add the following:
FROM php:8.2-apache
RUN docker-php-ext-install mysqli
RUN service apache2 restart
Then replace 'image: php:apache' with 'build: .' in the yml file (if the Dockerfile is in the same directory as the yml-file).
What about when we have multiple php files. ??
thanks buddy vey much hope you make more similar videos🥰🤙👍👍
Just saw this. thanks for this!
Excellent tutorial
thank you very much friend from peru
Fantastic job!
Como seria un crud por ejemplo
I from Russia. Thank you, bro)😘
class "mysqli" not found
just perfect! thanks!
You kept saying you were pressing "control save" on your keyboard My windows 10 keyboard doesn't have a save button.
CTRL + S
very useful, thank you!
Really helpful!👏
great video, thanks a lot :)
great turorial, thank you
really awsome video
It was a great Tutorial
You are a legend
great job!!
Unfortunately this tutorial only works if you want to run it on your device or others' device through localhost, you can't deploy it to a remote host. :(
If anyone is trying to deploy a full-stack PHP, MySQL, and Apache Web, refrain from using Docker if you don't have a solid understanding of it.
I found this playlist of tutorials to deploy it through a Linux VM (DigitalOcean droplet). This is better if you are a beginner. www youtube com/playlist?list=PL4apNHBRJVlQ56Pj3BS2CfxhavTAV3MLd
thanks for your help.
Maybe I will need something more than notepad.. I guess?
Thanks
Thank you
Terimakasih banyakk
Cool.
good one.
It looks like you are using windows.
bro thank you
i'm working on macos and got a "failed opening required '/var/www/html/index.php' " issue after opening on a localhost:80
hii, may i ask did you manage to solve the problem? because i need the solution for this. i also encountered the same problem
Fantastic work