PHP4 or 5

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 01/30/07 13:26, John K Masters wrote:
> I have just setup a mail server on Etch using Postfix and
> Courier. Would like to offer users webmail via Squirrelmail. Do I
> install PHP4 or 5?
>
> Any comments welcome.

php4 is pretty old.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFv54iS9HxQb37XmcRAonlAKCHUXgTnYXhzeyUwD9tlrnRkdUQ0ACcCBoS
2pBMm5fOyl63UZJNOCOgkzQ=
=gdwR
-----END PGP SIGNATURE-----

--

0

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

PHP4 or 5

On Tue, Jan 30, 2007 at 07:26:11PM +0000, John K Masters wrote:
> I have just setup a mail server on Etch using Postfix and Courier.
> Would like to offer users webmail via Squirrelmail. Do I install PHP4
> or 5?
>
> Any comments welcome.

According to 'apt-cache show squirrelmail' (for sid), the current 2
packages (1.4.9a-1 and 1.5.1-4) support php4 or php5. Check the result
for 'etch' (which is still 'testing'). Here is the related info:
----------------------------------------------
Version: 2:1.4.9a-1
Depends: apache2 | httpd, libapache2-mod-php4 | libapache-mod-php4 |
php4 | php4-cgi | libapache2-mod-php5 | libapache-mod-php5 | php5-cgi |
php5, perl
----------------------------------------------
Version: 2:1.5.1-4
Depends: apache2 | httpd, libapache2-mod-php4 | libapache-mod-php4 |
php4 | php4-cgi | libapache2-mod-php5 | libapache-mod-php5 | php5-cgi |
php5, perl
----------------------------------------------
cheers,
Kev
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keysever: subkeys.pgp.net | my NPO: cfsg.org |

PHP4 or 5

On Tue, Jan 30, 2007 at 08:32:34PM +0000, John K Masters wrote:
> On Tue, 30 Jan 2007 15:01:06 -0500
> Kevin Mark wrote:
>
> > According to 'apt-cache show squirrelmail' (for sid), the current 2
> > packages (1.4.9a-1 and 1.5.1-4) support php4 or php5. Check the result
> > for 'etch' (which is still 'testing'). Here is the related info:
> > ----------------------------------------------
> > Version: 2:1.4.9a-1
> > Depends: apache2 | httpd, libapache2-mod-php4 | libapache-mod-php4 |
> > php4 | php4-cgi | libapache2-mod-php5 | libapache-mod-php5 | php5-cgi |
> > php5, perl
> > ----------------------------------------------
> > Version: 2:1.5.1-4
> > Depends: apache2 | httpd, libapache2-mod-php4 | libapache-mod-php4 |
> > php4 | php4-cgi | libapache2-mod-php5 | libapache-mod-php5 | php5-cgi |
> > php5, perl
> > ----------------------------------------------
> > cheers,
> > Kev
>
> Yep! That's why I'm asking. When offered a choice I like to weigh up
> other users experiences. Does latest = best or not so stable? ATEOTD
> I'll probably go with PHP5 but I'd like to hear if others have some
> horror stories first.
>

Are there any limiting factors? Do you use anything that must run one or
the other? Since people are shifting to php5, it'd be where the
development is going and any future apps will use it. But of course,
php4 has more testing. But when etch goes stable, it will support php4
and php5.
cheers,
Kev
--
| .''`. == Debian GNU/Linux == | my web site: |
| : :' : The Universal |mysite.verizon.net/kevin.mark/|
| `. `' Operating System | go to counter.li.org and |
| `- http://www.debian.org/ | be counted! #238656 |
| my keysever: subkeys.pgp.net | my NPO: cfsg.org |

RE: PHP4 or 5

> -----Original Message-----
> From: John K Masters [mailto:joe@joeshome.me.uk]
> Sent: Tuesday, January 30, 2007 11:26 AM
> To:
> Subject: PHP4 or 5
>
> I have just setup a mail server on Etch using Postfix and
> Courier. Would like to offer users webmail via Squirrelmail.
> Do I install PHP4 or 5?
>
> Any comments welcome.

Another thing: make sure you enable "server side sorting" in
Squirrelmail. I think it's disabled by default. This makes a
HUGE difference in speed for large mailboxes!

-- Kevin

--

RE: PHP4 or 5

> -----Original Message-----
> From: John K Masters [mailto:joe@joeshome.me.uk]
> Sent: Tuesday, January 30, 2007 11:26 AM
> To:
> Subject: PHP4 or 5
>
> I have just setup a mail server on Etch using Postfix and
> Courier. Would like to offer users webmail via Squirrelmail.
> Do I install PHP4 or 5?
>
> Any comments welcome.

PHP 5 is *significantly* faster than PHP 4. Unless you have
a compelling reason to use PHP 4, go with 5.

-- Kevin

--

PHP4 or 5

On Wed, Jan 31, 2007 at 12:28:16AM -0800, Kevin Ross wrote:
>
> PHP 5 is *significantly* faster than PHP 4. Unless you have
> a compelling reason to use PHP 4, go with 5.
>
Really? I recall reading somewhere the PHP5 was absolute pig when it
came to memory. Personally, I only use PHP on one website I develop
(the hosting provider doesn't have Python available) and some of my
servers that run phppgadmin and horde. But I would be concerned about
it.

Regards,

-Roberto

--
Roberto C. Sanchez
http://people.connexer.com/~roberto
http://www.connexer.com

RE: PHP4 or 5

> -----Original Message-----
> From: Roberto C. Sanchez [mailto:roberto@connexer.com]
> Sent: Wednesday, January 31, 2007 8:59 AM
> To:
> Subject: Re: PHP4 or 5
>
> On Wed, Jan 31, 2007 at 12:28:16AM -0800, Kevin Ross wrote:
> >
> > PHP 5 is *significantly* faster than PHP 4. Unless you have
> > a compelling reason to use PHP 4, go with 5.
> >
> Really? I recall reading somewhere the PHP5 was absolute pig when it
> came to memory. Personally, I only use PHP on one website I develop
> (the hosting provider doesn't have Python available) and some of my
> servers that run phppgadmin and horde. But I would be concerned about
> it.

I'm speaking from personal experience. When I upgraded from PHP 4
to 5, my PHP-powered sites got a nice speed boost. With PHP 4,
I was using an accelerator, which doesn't work with PHP 5. PHP 5
is as fast, or faster, than PHP 4 with the accelerator. Without
the accelerator, PHP 5 is much faster, on my sites.

-- Kevin

--

Syndicate content