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.

Comments

Kador’s picture

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.

techczech’s picture

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.

vincenzo’s picture

PHP 5, absolutely.

sdrycroft’s picture

I concur

fm’s picture

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

zhahai’s picture

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.

jbrauer’s picture

PHP 5++

crischan’s picture

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

john bickar’s picture

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

5.2.0-8+etch7

Thanks Ron!

Vlad M’s picture

PHP 5.2.5
Thanks for this excellent module!

konfuzed’s picture

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 :) )

sneilan’s picture

I'm also using php 5.2.5.

Anonymous’s picture

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

MichaelK-1’s picture

I'm another PHP 5 only user:)

Carlos Miranda Levy’s picture

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.

Crell’s picture

@#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. :-)

thememex’s picture

PHP 5.1.6 & 5.2.5

deselaers’s picture

php 5.2.5

sergiopasra’s picture

$ rpm -q php
php-5.2.4-3

Using php 5 only

caspera’s picture

I am using php 4.3.9

works ok, but biblio.admin.inc uses stripos() and in order to fix this I have added the following(in order to edit authors):

if (!function_exists("stripos")) {
function stripos($str,$needle,$offset=0)
{
return strpos(strtolower($str),strtolower($needle),$offset);
}
}

/Casper

bekasu’s picture

Status: Active » Closed (fixed)

Upgrade to current php, mysql, biblio.
Life will be much better.
closing issue.
bekasu