Re:PHP functions originally bucketed by strlen, were renamed...
by fuzzix on Tuesday December 17, 2013 @03:19AM
(#6920097)
> "Look at the steps to get PHP installed versus other languages"
Not much different to getting CGI working. If you need it working well, FastCGI is as much effort as PHP-fpm. SUexec is as much effort as SUPHP.
Any language could supplant PHP in terms of ease of deployment, there's little out there that doesn't have some CGI library to handle the mucky parts.
Not that I am advocating use of CGI for anything non-trivial.
Re:PHP functions originally bucketed by strlen, were renamed...
by weland on Tuesday December 17, 2013 @03:43AM
(#6920149)
> Look at the steps to get PHP installed versus other languages. Then look at what "Hello World" and a simple form take.
That's really just not true. Installing anything capable of CGI is as easy to install as PHP.
Re:PHP functions originally bucketed by strlen, were renamed...
by protomyth on Tuesday December 17, 2013 @08:22AM
(#6920944)
It seems many hosting companies or their sysadmins don't agree since PHP gets installed and Ruby, etc. doesn't. PHP is an easy to install module and very easy to do the first program since its just a part of the webpage.
If you want your favorite language to replace PHP, then you have to make it easy for the sysadmin to install (preferably 1 line) and for new programmers to be able to use the language by just uploading a file.
Re:PHP functions originally bucketed by strlen, were renamed...
by jmccree on Tuesday December 17, 2013 @10:55AM
(#6921756)
Yeah, but PHP use as CGI was likely never more than 1% of the market. What most people mean is installing mod_php is easier than setting up another language via cgi or fastcgi.
It comes installed because it is easy to install. Someone had to install it and PHP is sure easy for any SysAdmin to get installed. It is easy to start because the PHP folks made it easy to get started.
Look at the steps to get PHP installed versus other languages. Then look at what "Hello World" and a simple form take.