16
Dave_L
Re: Moving to Php5 definitively
  • 2007/7/10 8:55

  • Dave_L

  • XOOPS is my life!

  • Posts: 2277

  • Since: 2003/11/7


There are two issues here.

1) Should XOOPS be compatible with (the latest stable release of) PHP 5?

2) Should XOOPS be compatible with PHP 4?

The answer to #1 is definitely "yes". And as far as I know, the XOOPS core is fully compatible with PHP 5, although not all modules are.

The answer to #2 is "yes", for now. At some point in the future this will need to change, so that we can take advantage of features in PHP 5 that are not in PHP 4. The big question is when to abandon PHP 4 compatibility; I don't know the answer to that.

(I'm only expressing my opinion here; this is not an official viewpoint of the project council or core development team.)

15
Peekay
Re: Moving to Php5 definitively
  • 2007/7/10 8:49

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


A lot of XOOPS modules will not work with PHP 5 (a xoops.org member conducted a survey of this some time ago). There is still no indication that developers will be forced to provide system requirements in the new module repository. So modules written for PHP 5 will join the ones written for PHP 4 and be unusable for most people that download them. You're just going to get a mass of 'my module doesn't work' posts in the forum.

The range of modules available for XOOPS makes it great. If switching to PHP 5 means the devs have to release a tiny list of PHP 5 compatible modules, like happened with the 2.2.* branch, then XOOPS will lose one of it's main competitive strengths.

IMHO
A thread is for life. Not just for Christmas.

14
hervet
Re: Moving to Php5 definitively
  • 2007/7/10 7:35

  • hervet

  • Friend of XOOPS

  • Posts: 2267

  • Since: 2003/11/4


From Rasmus Lerdof himself:
Quote:

a) We make a clear statement on PHP.net that at the end of the year we plan to discontinue bug fixes for PHP 4 except for security fixes.

b) We will discontinue supporting PHP 4 on 8/8/8 (because it sounds good and gives people about a year).

13
stefan88
Re: Moving to Php5 definitively
  • 2007/7/10 7:04

  • stefan88

  • Community Support Member

  • Posts: 1086

  • Since: 2004/9/20


I would like XOOPS to be as much compatible as possible (atleast the core). And see a clear, LONG TERM - 3 to 5 years roadmap, including this subject - PHP/MySQL requirements. But I guess it doesn't matter ...

Quote:
Quote:
Quote:

Peekay wrote:
My VPS provider doesn't offer an upgrade service and when I asked about support they literally said 'you're on your own'.



Tell them goodbye


Whatever you do, please keep in mind, that many hosting contracts are made for year. So if someone just renew his contract, that may be expensive.

Also note, that many modules may not work with PHP5 and with too many developers left XOOPS in the past few years we can't expect updates. And core without modules is useless for content management. Your News module may be excelent, but if someone needs only news, there are many lightweight scripts - XOOPS is not needed. The power is/was with the many different modules.

..

12
Peekay
Re: Moving to Php5 definitively
  • 2007/7/8 16:28

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:
Therefore, my suggestion would be to focus on PHP5 going forward for 2.017, and maintain 2.016 as PHP4 only with security fixes.

I wouldn't have a problem with that, except XOOPS is one of the several CMS solutions I use that doesn't release bug-fix or security patches. They always go for a full, incremental upgrade. It's really annoying when you can guess that only a few files have changed, you just don't know which ones. The recent phpmailer exploit is the first 'single-file' security patch I ever recall seeing (cue for someone to prove me wrong!)

If the XOOPS core devs could promise that the latest PHP 4 version would have security patches released promptly, then make XOOPS 2.0.17 for PHP 5. Just don't demand an upgrade to the PHP 5 version to fix security issues, or your user base will diminish very rapidly indeed.
A thread is for life. Not just for Christmas.

11
Mamba
Re: Moving to Php5 definitively
  • 2007/7/8 14:35

  • Mamba

  • Moderator

  • Posts: 11366

  • Since: 2004/4/23


Quote:

vaughan wrote:

I still think that for now it should still be PHP4 backward compatible. The main reason is that there are still many hosts outthere who don't have PHP5 installed default, and a non default installation of PHP5 on some servers has a few limitations which can vary)

It would be bad to discount php4 entirely as we are then forcing users who want to use XOOPS to have to purchase a hosting plan that has php 5, and they wouldn't want to be buying a new plan if they have say 5 sites located on a PHP4 server. in effect we would be limiting usage.


I have the opposite - my VPS host offers only PHP5. Therefore, my suggestion would be to focus on PHP5 going forward for 2.017, and maintain 2.016 as PHP4 only with security fixes.

The people who currently have only PHP4 could easily stay on 2.016 there till next year (with security fixes). But it's more important for us that the Core developers focus on PHP5 and maximize their time on new important features that will bring XOOPS to the 21st century and make it finally competitive again against the other CMS systems.
Support XOOPS => DONATE
Use 2.5.10 | Docs | Modules | Bugs

10
jdseymour
Re: Moving to Php5 definitively

I currently run on a Xen VPS, I have no restrictions on versions I can run. I upgraded my own VPS to php5, MySQL 5.0, and apache 2.2 ages ago. No troubles ever, and now I always stay with the latest stable versions (no betas on my live server).

9
MadFish
Re: Moving to Php5 definitively
  • 2007/7/8 14:21

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


I haven't actually asked them to do that yet, however I have asked them to install a few other things and they have always done it straight away with no problems (I am renting a managed VPS from them).

You get a fair bit of control of what versions of things you run, and also whether you want to run latest releases, stable versions, or even older (conservative) versions. I think I can even upgrade to version 5 my self (need to check to be sure), but as I am not sure of the implications for the modules I run, I have resisted temptation thus far.

8
Peekay
Re: Moving to Php5 definitively
  • 2007/7/8 14:13

  • Peekay

  • XOOPS is my life!

  • Posts: 2335

  • Since: 2004/11/20


Quote:

MadFish wrote:
I have the option to upgrade my VPS to PHP 5

Will your provider do that for you?. I agree with Herve, I was surprised that mine doesn't offer a service.
A thread is for life. Not just for Christmas.

7
MadFish
Re: Moving to Php5 definitively
  • 2007/7/8 14:10

  • MadFish

  • Friend of XOOPS

  • Posts: 1056

  • Since: 2003/9/27


Did you find any problem / thing that needed to be adjusted in standard XOOPS install or common modules? Just curious. I have the option to upgrade my VPS to PHP 5 but for the moment I am treating it like a bomb that might go off :)

Login

Who's Online

226 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 226


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits