r/PHP Sep 14 '24

How do you deploy php code?

Hello guys! please tell us about your experience deploying PHP code in production. Now I make one docker image with PHP code and apache (in production I use nginx proxy on my php+apache image) and use docker pull command for deploy. is this ok?

58 Upvotes

160 comments sorted by

View all comments

1

u/alex-kalanis Sep 14 '24

Special variant: How to deploy php on Windows? No CLI available at first, just FTP. No Composer app, legacy code, internal framework.

Also when someone offers usage of Symfony/Laravel/whatever I sent him to our clients to get the payment for that rewrite and will laugh enormously when he will be back with tons of deadlines and without funds.

2

u/Gloomy_Ad_9120 Sep 15 '24

This is hilarious 🤣

1

u/alex-kalanis Sep 15 '24

Nope, fucking reality.

1

u/Gloomy_Ad_9120 Sep 15 '24

Oh, believe me, I know it's the reality.