Greetings, I was a PHP user from way, way back when it was still known as PHP/Fi. Various things have taken me away from it, but I am now going to migrate some of my work to Drupal. I am having trouble making the choice between PHP 4 and PHP 5. I use Debian, but often roll my own packages or use www.backports.org. Can someone with more recent experience than I comment on what pitfalls I might face if I choose 5? --cro
On 29/08/06, C. R. Oldham <cro@ncbt.org> wrote:
Greetings,
I was a PHP user from way, way back when it was still known as PHP/Fi. Various things have taken me away from it, but I am now going to migrate some of my work to Drupal.
I am having trouble making the choice between PHP 4 and PHP 5. I use Debian, but often roll my own packages or use www.backports.org. Can someone with more recent experience than I comment on what pitfalls I might face if I choose 5?
As a Debian user I would just pick the standard PHP4 package for simplicity. I would only bother with PHP5 if I wanted to do other dev work that needed it (eg anything OO or XSLT based). Contrib module problems seem a little more prevalent on PHP5 - but that could just be my warped view of things :) There is one (or maybe two?) XSLT based module that needs PHP5, but thats the only one I've stumbled across. -- Cheers Anton
On Monday 28 August 2006 10:17, C. R. Oldham wrote:
Greetings,
I was a PHP user from way, way back when it was still known as PHP/Fi. Various things have taken me away from it, but I am now going to migrate some of my work to Drupal.
I am having trouble making the choice between PHP 4 and PHP 5. I use Debian, but often roll my own packages or use www.backports.org. Can someone with more recent experience than I comment on what pitfalls I might face if I choose 5?
--cro
In general, Drupal should be fine with either. Personally I run it mostly on PHP 4, because my web host has that and my home server is Debian Sarge, which is PHP 4. My desktop/dev box is Debian Sid, however, which has been running PHP 5 for quite some time. The only problem is if you try playing with an XTemplate-based theme, as that breaks in PHP 5. If you're using Drupal 4.7, you shouldn't have an problems. -- Larry Garfield AIM: LOLG42 larry@garfieldtech.com ICQ: 6817012 "If nature has made any one thing less susceptible than all others of exclusive property, it is the action of the thinking power called an idea, which an individual may exclusively possess as long as he keeps it to himself; but the moment it is divulged, it forces itself into the possession of every one, and the receiver cannot dispossess himself of it." -- Thomas Jefferson
C. R. Oldham wrote:
Greetings,
I was a PHP user from way, way back when it was still known as PHP/Fi. Various things have taken me away from it, but I am now going to migrate some of my work to Drupal.
I am having trouble making the choice between PHP 4 and PHP 5. I use Debian, but often roll my own packages or use www.backports.org. Can someone with more recent experience than I comment on what pitfalls I might face if I choose 5?
--cro
Drupal is presently coded to work on either PHP 4 or PHP 5. If you choose to go with PHP 5, you will leave a significant number of Drupal users behind, as they are hosted on PHP 4 systems. Personally, I like PHP 5 and using its OO capabilities, but I will leave the religious arguments to others. :-) ..chrisxj
participants (4)
-
Anton -
C. R. Oldham -
Chris Johnson -
Larry Garfield