Has anyone ever used c++ binaries to work with mysql and dynamic web pages.

If so, can you give me any links to how.

also, when in business does one move to c++ from say PHP, for server side work

thank you for your time and have a good day