The subject says it all really.
I am attempting to delve deeper into web server technologies and was wondering what the difference between PHP and CGI (perl) is and which you prefer and why?

Thanks