Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If I was using PHP, I wouldn't use containers either. Just sync the latest code over, change a sym link to the new build, done.


That seems a little bit simplistic for today's workflow as there's chances you'll need to to restart php-fpm anyway, discard/refresh some cache (Doctrine metadada ...), maybe update your composer / vendor directory and its autoloading files, maybe run db migrations and more.


capistrano is perfect for that. we use it for all our deployment needs and it has been wonderful!


second this. I haven't needed cap in a while for the work I'm doing, and I don't often see it mentioned (perhaps because I'm not looking) but it's a fantastic tool for managing atomic deployment.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: