|
|
Subscribe / Log in / New account

PHP 5.4.0 released

PHP 5.4.0 released

Posted Mar 3, 2012 11:42 UTC (Sat) by ibukanov (subscriber, #3942)
In reply to: PHP 5.4.0 released by pboddie
Parent article: PHP 5.4.0 released

If one consider alternatives for apache like lighttpd or nginx, then FastCGI comes naturally. I was surprised how easy it was to run WordPress, FluxBB and custom PHP applications over FastCGI with lighttppd each under its own user account while consuming much less resources than the same applications running under the same account as the apache server.

With Python and Perl that required much more efforts if the application is written with mod_python/mod_perl in mind.


to post comments

PHP 5.4.0 released

Posted Mar 4, 2012 10:18 UTC (Sun) by niner (subscriber, #26151) [Link] (1 responses)

With Perl you use frameworks like Catalyst, Dancer or Mojolicuous to write web applications and with them you can switch from mod_perl to fastcgi and vice versa without changing a single line of code. In addition, you get an integrated development webserver and support for running over plain old CGI and it's trivial to scale up by serving static files with a different server like ngnix or lighttpd.

It cannot possibly get easier than that.

PHP 5.4.0 released

Posted Mar 4, 2012 11:15 UTC (Sun) by ibukanov (subscriber, #3942) [Link]

> With Perl you use frameworks

The problem starts when it is necessary to quickly port to FastCGI badly written and unmaintained scripts that are not written using those frameworks. With PHP it just works with default settings. With Perl it requires to manually fix those. So despite all its limitations and ugliness PHP was a winner in my case due to universality of its default configuration.


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds