Created by Larry Wall, Perl is a platform independant general purpose programming language most commonly used for the implementation of CGI applications.
PHP is a cross-platform HTML embedded server-side scripting language which combines the ease of an interpreted language with the concepts of CGI without the need to split up the sources of a web-site.