PHP vs CGI vs FastCGI in C

Written By Sanjir Habib On Dec-3rd, 2017

CGI based web applications written in C, will out perform PHP. Even though common assumption is other wise. I had been seeing this difference for long.

Overall a CGI bases system might be 10% slower than FastCGI. But the gains it offers out weight this difference.

If rendering time difference between PHP and C is like 2 vs 0.2 sec. Difference between CGI vs FastCGI is 2ms vs 1ms only.

This blogging site is written in C running as CGI.