Re: PHP4 or PHP5, and apache: pros/cons
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

Re: PHP4 or PHP5, and apache: pros/cons

From: Andy Jeffries <news@andyjeffries.co.uk>
Date: Tue Apr 25 2006 - 17:08:07 CEST

On Tue, 25 Apr 2006 11:02:36 -0400, sinister wrote:
> I'm starting a database/web interface project, using Linux and postgresql.
>
> I've programmed in PHP4 in the past, and for this new project am unsure
> whether to use PHP4 or PHP5.
>
> My main concerns are stability and security.
>
> What are the pros/cons/issues for PHP4/PHP5 with apache (either 1.3 or 2)?

I'd say go with PHP5 on Apache2.

It's faster and has better object support (which for a new project may be
useful).

If you don't wish to use any of PHP5's new features you can still write
PHP4 style code but run it on a PHP5 installation.

I'm running it on 4 web servers and it's beautiful.

Cheers,

Andy

-- 
Andy Jeffries MBCS CITP ZCE   | gPHPEdit Lead Developer
http://www.gphpedit.org       | PHP editor for Gnome 2
http://www.andyjeffries.co.uk | Personal site and photos
Received on Mon May 1 03:04:06 2006