Setup a Docker development environment with PHP Apache & MySQL

Setup a Docker development environment with PHP Apache & MySQL

Seeker Labs

4 года назад

76,492 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Mia Moto
Mia Moto - 29.07.2023 13:26

hello, i did the exact same set up, connected to Adminer etc, although th econnection to the db is not working, did you have to install any extension off the record ? Much appreciated thanks my friend. Great content btw
: Fatal error: Uncaught Error: Class 'mysqli' not found

Ответить
The Rocking Assault
The Rocking Assault - 23.07.2023 10:55

Thankyou for your help

Ответить
Lukáš Tomek
Lukáš Tomek - 29.04.2023 13:00

Do not forget to add also php.ini and important extensions. For example, you can not debug your code without xdebug extension.

Ответить
David M
David M - 16.03.2023 18:05

i get forbidden access

Ответить
Mohamad Simo
Mohamad Simo - 01.03.2023 20:05

Thanks for this amazing explantion, but i have a question inside Dockerfile in cmd line you added index.php what if i had many php pages! what shall i do_

Ответить
Ian Farrell
Ian Farrell - 22.02.2023 03:51

Dude, you just ended about a 5 hour headache for me, going round in circles with tutorials that don't explain what the docker code actually means, or how to actually load anything other than a default nginx page, thank you! I'm going to trawl through your videos in the hopes you have one for Webpack too!

Ответить
ZB
ZB - 28.01.2023 21:32

Man thank you! There are so many tutorials out here that try to explain this but imo they are too long with alot of fluff. Here you jump straight to it and provide a good overview of everything without going to much into detail, and show implementation.

Ответить
Ashutosh chaudhary
Ashutosh chaudhary - 09.01.2023 22:16

if I have 3 docker containers i.e apache, php, mysql. how would apache know that I have to go to php conatiner for hosting a index.php file on apache container

Ответить
Agustin Moragues
Agustin Moragues - 14.12.2022 23:02

Thanks mate, just What I was looking for.

Ответить
bi jian Wu
bi jian Wu - 04.12.2022 04:49

thanks for the great content

Ответить
Romualdo Mariano
Romualdo Mariano - 29.10.2022 06:41

Still no 8.0 above?

Ответить
Cristian Daniel Herrera
Cristian Daniel Herrera - 18.10.2022 20:37

very good!

Ответить
Joey s
Joey s - 05.10.2022 02:57

You skipped the part where you added a volume to persist the sqlite db to the yml file

Ответить
Abolfazl Safari
Abolfazl Safari - 18.09.2022 11:06

thanks man

Ответить
Magno Alberto
Magno Alberto - 20.08.2022 23:34

The most complete and objective tutorial I found. It was exactly what I was looking for days. Here's a suggestion: It would be a video teaching how to include PHP extensions. Thank you very much!

Ответить
DANIEL ASEMA ABUBAKAR
DANIEL ASEMA ABUBAKAR - 29.07.2022 07:24

Hey thanks for the tutorial. Im just wondering why my db didnt persist at the end. When I composed down, my db was deleted

Ответить
황현희
황현희 - 28.07.2022 04:38

I tried on my computer just like what you did , but I got localhost 403 forbidden. Any help?

Ответить
B4rt1j1
B4rt1j1 - 18.07.2022 21:39

Hi, Im very beginner to docker, can someone please help me if I have index.php inside some folders like src/public/index.php, Docker says Could not open input file: ./index.php i tried relative path to Dockerfile but didnt work. Thanks for any answers

Ответить
J. Hu
J. Hu - 20.06.2022 12:00

Thanks so much for this video. You just saved my world!!

Ответить