C is a great language. But it was designed for system-level programming without creating web pages. PHP, on the other hand, was designed to create web pages. Use the right tool for the right job. In this case, PHP.
You also start with an erroneous premise. Namely, that PHP will not be fast enough to deliver page content. There are many websites that simply do not agree with this statement. There may be some kind of angular case where C is the only choice for this job, but I find it unlikely that you will come across this scenario.
source
share