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 |
Jump to:
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
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
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
PHP 5, absolutely.
#4
I concur
#5
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
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
PHP 5++
#8
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
Here's what they tell me at admin/logs/status:
5.2.0-8+etch7Thanks Ron!
#10
PHP 5.2.5
Thanks for this excellent module!
#11
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
I'm also using php 5.2.5.
#13
Using PHP5.2.2 and 5.1.2
Thank you for asking :)
#14
I'm another PHP 5 only user:)
#15
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
@#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
PHP 5.1.6 & 5.2.5
#18
php 5.2.5
#19
$ rpm -q php
php-5.2.4-3
Using php 5 only