The biggest advantage PHP has is that it's easy to set up: either the hoster already has php, or it's a simple matter of apt-get install if you're developing on your own. No messing around with config files, server ports, ..., it just Works (tm).
PHP enables really rapid development: just save the file and reload in your browser to see a change, compared to Java/CGI-C which need recompiles.
And finally, PHP is written expressly for the web, not like Java, Python, Ruby or whatever the latest fad is these days - where web stuff was bolted on instead of baked in the design and operations of the language.
PHP enables really rapid development: just save the file and reload in your browser to see a change, compared to Java/CGI-C which need recompiles.
And finally, PHP is written expressly for the web, not like Java, Python, Ruby or whatever the latest fad is these days - where web stuff was bolted on instead of baked in the design and operations of the language.