Hacker News new | past | comments | ask | show | jobs | submit login

I have seen people deploy php this way but I'm not aware of anyone who'd do it today.

Locally however it is save, alt-tab, ctrl-r and immediately you see the result. Absolutely no waiting.

These days I rather use Quarkus for this but until Quarkus arrived this was a huge advantage that PHP had over every other language and framework I was aware of.

Also the documentation was fantastic compared to most of the stuff I have had to suffer through on Java, .Net and even React and Angular.

Every thing you may reasonably wonder about was described in a clear, straight forward way and included examples.




I deploy with a git pull

Which I suppose is just a fancy way of a copying files to the server.


Same. Our Node applications can take up to 10 minutes to build and deploy from a pipeline, but our PHP applications are deployed in <2 seconds by executing `git pull` on a VM.


Same. And git doesn't care if I add a build process or not, or which language I am pushing.


It is kind of just a fancy way to copy but at the same time gives you versioned deployments, rollbacks etc.


I use PHP this way and I think it's great :)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

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

Search: