Elxis CMS Forum

Support => General => Topic started by: datahell on February 12, 2008, 14:24:24

Title: Move to PHP5?
Post by: datahell on February 12, 2008, 14:24:24
Should Elxis move to PHP 5 or keep the compatibility with PHP4.x?
We are thinking of making Elxis 2008.1 compatible only with PHP5.x.
If this happens and your host has PHP4.x you wont be able to install Elxis on your server or update Elxis 2008.0 to 2008.1.
On the other hand there are many advantages if we move to PHP5.
Title: Re: Move to PHP5?
Post by: rentasite on February 12, 2008, 18:55:43

I voted NO  :-[

Only compatible with php5 is not a good idea. For someone who can change a host every now and then... its not a problem. He can search and find a provider for his needs. But for someone who has a dedicated server or a vps, with php4 on it and 100% of his accounts need and use only php4... it will be a big big problem.

One more time: No to....... only php5 compatibility.
Title: Re: Move to PHP5?
Post by: Olympion on February 12, 2008, 19:33:29

I voted NO  :-[

Only compatible with php5 is not a good idea. For someone who can change a host every now and then... its not a problem. He can search and find a provider for his needs. But for someone who has a dedicated server or a vps, with php4 on it and 100% of his accounts need and use only php4... it will be a big big problem.

One more time: No to....... only php5 compatibility.


The question is how long will exist hosting with php4,  longer as 08.2008 would not be a good idea  :o   Support for PHP 4 discontinued (http://www.heise-online.co.uk/security/Support-for-PHP-4-discontinued--/news/101279)
Title: Re: Move to PHP5?
Post by: datahell on February 12, 2008, 20:07:37
I understand that this is a problem for many users. This is why we have stayed so long stack in PHP4 but I think it is time to move to PHP5. Server administrators can install PHP5 on their servers. You can also see this as an opportunity to move from your outdated server (should be more than 3 years old) to a new one.

If you add a single reference of PHP 5 in Elxis then automatically Elxis will become incompatible with PHP 4.
Title: Re: Move to PHP5?
Post by: rentasite on February 12, 2008, 20:07:42
And i come up with another question. Is Elxis 2006.4 compatible with Php5 ?
Title: Re: Move to PHP5?
Post by: datahell on February 12, 2008, 20:15:35
Off course!
Most of Elxis official sites run already on PHP5. elxis.org and this forum will run in PHP5 in a few days (now they run in PHP4).

Let me explain something to you.
Elxis 2006.x and Elxis 2008.x are compatible with both PHP4 and PHP5. In order to achieve this we do not make use of the PHP5 special features. So the code stays compatible with both PHP4/PHP5. If we use a single reference, like the __constructor function, in Elxis code this part of elxis wont be usable in PHP4 enabled web servers. Even if we move to PHP5 Elxis 2008.0 we still be usable in PHP4 and PHP5.
Title: Re: Move to PHP5?
Post by: Olympion on February 12, 2008, 20:16:36
And i come up with another question. Is Elxis 2006.4 compatible with Php5 ?

Of course  :)


EDIT ############
you was faster  :D
Title: Re: Move to PHP5?
Post by: Ivan Trebješanin on February 12, 2008, 20:21:26
And i come up with another question. Is Elxis 2006.4 compatible with Php5 ?

Yes. I agree with you only on the question WHEN? But I think there should be no doubt on moving to PHP5. Some hosts even give you the option to choose wich version of PHP are you going to use. It is NOT difficult to upgrade PHP, as it is difficult to upgrade MySQL. No serious host will stay on PHP4 forever!
Title: Re: Move to PHP5?
Post by: rentasite on February 12, 2008, 20:48:28
Yes. I agree with you only on the question WHEN? But I think there should be no doubt on moving to PHP5. Some hosts even give you the option to choose wich version of PHP are you going to use. It is NOT difficult to upgrade PHP, as it is difficult to upgrade MySQL. No serious host will stay on PHP4 forever!

Ivan, my doubt is about the word "ONLY" not "WHEN".  ;) And also, i'm not using hosting packs from hosting providers. It would be very easy in that way, by changing a provider. I own some VPS with clients that use applications under php4. Anyway, i can't say more.
Title: Re: Move to PHP5?
Post by: datahell on February 12, 2008, 20:55:03
I added this subject under discussion. We have not take any decision yet.
I want to see more user options on this subject.
Title: Re: Move to PHP5?
Post by: mmarch on February 13, 2008, 10:16:52
Morning !!!

My opinion is - We everyone are a bit lazy, we everyone have a customers with elxis 2006.x and of course it's not easy upgrade all sites to 2008.x, i think not all sites will be upgraded, but we must think about developers of Elxis - how long will be php 4.x ??? months or 2 or longer, but everyone serious hosting company or we self will move anyway to php5, and thats mean - why developers of elxis should do job which after bit a time will be unnecessary???

I think Elxis should move to php5 and we users who use your product and develop sites on it must be patient and allow you do your job to make everything run clean and tidy without any unnecessary things.

Let move to php5 we will die with you in agony or we will get best solution in future.
Title: Re: Move to PHP5?
Post by: nikos65 on February 13, 2008, 23:57:09
It's important to note that PHP4 is no longer actively maintained by the php developers. This means far fewer bug and security fixes (if any).

PHP 4.4.8 Released

[03-Jan-2008] The PHP development team would like to announce the immediate availability of PHP 4.4.8. It continues to improve the security and the stability of the 4.4 branch and all users are strongly encouraged to upgrade to it as soon as possible. This release wraps up all the outstanding patches for the PHP 4.4 series, and is therefore the last normal PHP 4.4 release. If necessary, releases to address security issues could be made until 2008-08-08.

PHP 4 end of life announcement
[13-Jul-2007]

Today it is exactly three years ago since PHP 5 has been released. In those three years it has seen many improvements over PHP 4. PHP 5 is fast, stable & production-ready and as PHP 6 is on the way, PHP 4 will be discontinued.

The PHP development team hereby announces that support for PHP 4 will continue until the end of this year only. After 2007-12-31 there will be no more releases of PHP 4.4. We will continue to make critical security fixes available on a case-by-case basis until 2008-08-08. Please use the rest of this year to make your application suitable to run on PHP 5.

For documentation on migration for PHP 4 to PHP 5, we would like to point you to our migration guide. There is additional information available in the PHP 5.0 to PHP 5.1 and PHP 5.1 to PHP 5.2 migration guides as well.


I think after all this we have to move on to PHP 5.x .
Title: Re: Move to PHP5?
Post by: Coursar on February 14, 2008, 14:57:18
I vote - YES. PHP5 faster.
Title: Re: Move to PHP5?
Post by: Oxura Media on March 12, 2008, 16:34:13
I'd say YES move to PHP5 and be prepared for PHP6! It's the future.
Title: Re: Move to PHP5?
Post by: cubizone on March 25, 2008, 18:31:40
so long that a "quit easy" transfert procedure exsit and well explain for non professional user like me exist I think that progress is always something good !

thanks for your job  ;D
Title: Re: Move to PHP5?
Post by: datahell on March 25, 2008, 19:05:03
Large PHP5 coded libraries (like the new ADODB library) have been already included in Elxis 2008.1. I have also started to created extensions written exclusively in PHP5 using OO programming. The new Elxis Directory component (EDir) is also written in PHP5.
Title: Re: Move to PHP5?
Post by: tristate on April 08, 2008, 01:57:42
I'd say YES move to PHP5 and be prepared for PHP6! It's the future.

I have to agree with the quote above, progress is usually a good thing, and eventually php4 will not exist on servers, if some of my scripts didn't require it then it would not be on my server because it would save on overhead processing...

Just a thought, Chris