On my personal computer I use xampp: apache, php, mysql On servers I use: apache, php, mysql. I would recommend mysql over mssql. As for your question about what works better with each other I would assume they all work together fine, but I could be wrong, since I don’t use java or python.