PHP 5 poll

rjerome - February 27, 2008 - 02:27
Project:Bibliography Module
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:rjerome
Status:active
Description

With PHP 4.x having reached the end of it's life, I am taking a poll to see how many people are still using it. Unless otherwise convinced, I will be making the 6.x version somewhat dependent on PHP 5. I say somewhat because it is really only the XML parsers and writers that will have this dependency, and I will write it such that even with PHP 4 everything will work EXCEPT the the XML related features (i.e. import/export of EndNote XML files).

Ron.

#1

Kador - February 27, 2008 - 19:01

I've been using php 5 since 2004 or so. Currently running on 5.2. I couldn't imagine going back to 4. For what it concerns me Drupal and Biblio should drop php4 support as soon as possible and move to version 5.

#2

bohemicus - March 1, 2008 - 09:07

Unfortunately, our university server runs PHP4.4 for backward compatibility with lots of unknown scripts but if the XML import is the only thing affected, I'd say go ahead, as long as I can still import in other ways. But, anyway, I doubt I'll be upgrading our current site to 6.0 any time soon.

#3

neminis - March 3, 2008 - 20:40

PHP 5, absolutely.

#4

sdrycroft - March 5, 2008 - 13:43

I concur

#5

fm - March 6, 2008 - 00:13

I'm running PHP 5 my sites. PHP 4 wasn't cutting it because of its date handling limitations.

PHP 5.2.5 development site
PHP 5.1.6 production site

#6

zhahai - March 7, 2008 - 23:35

Concur with moving to PHP 5. It has become easy to find hosts with PHP 5, so I no longer use any which do not have it.

#7

JBrauer - March 8, 2008 - 04:40

PHP 5++

#8

CRiSCHAN - March 12, 2008 - 12:48

PHP5 - no doubt. My webhost offers both PHP 4 and 5 and though default is PHP4, a simple .htaccess directive gives me PHP 5.

#9

cubbtech - March 12, 2008 - 17:01

Here's what they tell me at admin/logs/status:

5.2.0-8+etch7

Thanks Ron!

#10

Vlad M - March 12, 2008 - 20:25

PHP 5.2.5
Thanks for this excellent module!

#11

konfuzed - March 14, 2008 - 17:29

Have just started testing out biblio, but we killed off our last php4 box finally last fall, so php5.2.5 everywhere now (and this is state stuff, so you know how slow it can go, but if we can do it, anyone can :) )

#12

sneilan - March 17, 2008 - 05:04

I'm also using php 5.2.5.

#13

meles - March 21, 2008 - 22:40

Using PHP5.2.2 and 5.1.2
Thank you for asking :)

#14

MichaelK - March 25, 2008 - 12:46

I'm another PHP 5 only user:)

#15

Carlos Miranda Levy - March 25, 2008 - 20:39

php5 since 2005
go ahead :)

In any case check the standards and requirements of Drupal Assoc.
Some platforms are picky as to add-on modules having special requirements or licensing schemes.
It may turn out that you keep the old version alive, although unsupported, to comply with those still using php4.

#16

Crell - March 25, 2008 - 21:05

@#15: There's no licensing concern for PHP 4 vs. PHP 5. It's a question of functionality and deployment. The Drupal Association has nothing to do with PHP version requirements in the slightest. Drupal 6 includes a feature that allows modules to declare a minimum PHP version explicitly and specifically for this sort of thing.

@rjerome: If you need to do XML parsing, go ahead and make PHP 5 a requirement. You'll save yourself thousands of lines of code, most likely. This is exactly the sort of module that D6 feature was added for. Don't worry about PHP 4 compatibility in the rest of the module then, either, since the declaration in the info file is global to the module. GoPHP5 and don't look back. :-)

#17

thememex - March 26, 2008 - 22:37

PHP 5.1.6 & 5.2.5

#18

deselaers - April 12, 2008 - 10:02

php 5.2.5

#19

sergio.pasra - April 14, 2008 - 11:09

$ rpm -q php
php-5.2.4-3

Using php 5 only

 
 

Drupal is a registered trademark of Dries Buytaert.