Memorial Day
Support will be closed on Monday, May 28th, 2012 to enjoy Memorial Day with our friends and families.
   
 
So Long, Farewell PHP 4
Posted: 11 November 2010 04:55 PM   [ Ignore ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7268
Joined  05-07-2007

Our next ExpressionEngine release will mark the end of PHP 4 support in ExpressionEngine and CodeIgniter. For most of you, this should be a non-issue. PHP 4 was originally released in May of 2000 and reached End of Life in December of 2007.  If you think about it, PHP 4 is to us what Internet Explorer 6 is to you.

We will be requiring PHP 5.1.6. The easiest way to see if your current host meets the requirements is to download and test using the Server Wizard. If your host does not meet the minimum requirements, open a support ticket and work with them to upgrade your account to PHP 5. In the majority of cases, this should be trivial.


Keep Reading

 Signature 

gregaker.net | Follow me on Twitter

Profile
MSG
 
 
Posted: 11 November 2010 05:34 PM   [ Ignore ]   [ # 1 ]  
Lab Assistant
Avatar
RankRank
Total Posts:  113
Joined  02-03-2010

Ohh this sounds great!

One question tho: Why not use Services_Json for encoding json too?

 Signature 

http://www.devdemon.com
http://twitter.com/devdemon


Channel Images - Best Image Management Available
Channel Files - Upload multiple files with progressbar! S3/Cloudfiles support.
Channel Ratings - Rate Entries & Comments, Like/Unlike also supported
Channel Videos - Add Youtube/Vimeo video
Forms - Best Forms Module (Drag & Drop)

Profile
 
 
Posted: 11 November 2010 05:51 PM   [ Ignore ]   [ # 2 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  3103
Joined  01-07-2008

Why not use Services_Json for encoding json too?

The main reason is that it’s slow. It does a lot of checking and converting to get to UTF-8. In EE 2 all of the data that goes in or out is UTF-8, so those checks are superfluous for us. Encoding in the same character set is incredibly simple, so we wrote our own.

The need to decode came about a little later, although we knew that we would eventually need it. It is quite a bit more more complicated and time was limited, so we grabbed what was available and never got around to rolling our own version.

There are still a few loose ends in the javascript library, so hopefully we’ll have a native implementation for CI 2’s release.

Good question!

 Signature 
Profile
MSG
 
 
Posted: 11 November 2010 07:50 PM   [ Ignore ]   [ # 3 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  770
Joined  02-06-2007

Finally. Thank you.

This has to be bitter-sweet for you guys. After all your struggles building EE 2 with php 4 (I’m sure there were plenty), this decision comes only 4 months since EE 2 was out of beta. You could have had autoloading!

Now the question is: why not php 5.2? I know, you’re not utilizing 5.2’s new features yet. Support for multiple databases using PDO would be nice though. Promise that EE 3 will be a complete rewrite on php 5.3 or 6?

 Signature 

“I am the terror that flaps in the night”

Profile
 
 
Posted: 11 November 2010 08:14 PM   [ Ignore ]   [ # 4 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  446
Joined  01-14-2006

Great news folks

Is there any chance of getting some sort of change log for the docs please?

Perhaps if they were maintained publicly by EL on BitBucket then we could subscribe via RSS and see the commits from you guys.

 Signature 

Weblog | @iain | Taxonomy for EE2

Profile
 
 
Posted: 12 November 2010 02:33 AM   [ Ignore ]   [ # 5 ]  
Research Assistant
Avatar
RankRankRank
Total Posts:  760
Joined  02-11-2007

Yup, great news. Now you just need to get rid of all the PHP4-centric code in both CI / EE and we’re good to go wink

 Signature 

bybjorn.com: ExpressionEngine Freelancer - Premium ExpressionEngine 2.0 Themes - ExpressionEngine Addons @ AddonBakery - contact me on twitter: twitter.com/bjornbjorn - Zerply profile: zerp.ly/bjornbjorn

Profile
 
 
Posted: 12 November 2010 02:51 AM   [ Ignore ]   [ # 6 ]  
Administrator
Avatar
RankRankRankRankRank
Total Posts:  3103
Joined  01-07-2008

Now the question is: why not php 5.2? I know, you’re not utilizing 5.2’s new features yet.

One thing we’ve discovered is that reliable usage statistics for PHP are pretty hard to find. Server OS statistics are a bit easier. On the linux side, the Red Hat derivatives tend to lag behind a bit. Unfortunately about 40% of linux servers are CentOS or RHEL. CentOS 5.5 and RHEL 5.5 both ship with PHP 5.1.6. The number isn’t random, it’s as high as we can comfortably go at this point.

Is there any chance of getting some sort of change log for the docs please?

We’re being very deliberate with our changes, but we’ll definitely keep you guys in the loop for potential compatibility issues.

Yup, great news. Now you just need to get rid of all the PHP4-centric code in both CI / EE and we’re good to go

Heh, we removed most of the PHP 4 compatibility code from CI. Along with a few other changes, which are outlined on the CI blog. EE is starting to get the same treatment, it’ll just take a little longer smile .

 Signature 
Profile
MSG
 
 
Posted: 12 November 2010 03:46 AM   [ Ignore ]   [ # 7 ]  
Grad Student
Avatar
Rank
Total Posts:  83
Joined  05-17-2008

“We are making changes slowly and deliberately, so expect some flux in the repository for the coming weeks. It’s an exciting time for CI.”

Nice move! Looking forward to see more improvements in the coming weeks. The right time to regain momentum.

 Signature 

janogarcia.es, @janogarcia
margenn - web studio, San Sebastian (Spain) $CI = new $class();

Profile
 
 
Posted: 14 November 2010 01:32 PM   [ Ignore ]   [ # 8 ]  
Grad Student
Rank
Total Posts:  38
Joined  04-08-2010

I’m very exited with the changes and congrats to the team! I wanted to know what new features are going to be part of CI 2.0. I mean, is UTF-8 fixed? Is there a Javascript abstraction layer somewhere? Things like that. Maybe a roadmap could be shared so we can help in any way, right?

Keep the good work!

Profile
 
 
Posted: 16 November 2010 03:52 AM   [ Ignore ]   [ # 9 ]  
Grad Student
Rank
Total Posts:  33
Joined  07-02-2009

NICE!!!
Small gift for the new year we get?

I am, very, very happy smile

 Signature 

Webcoding.pl - Tworzenie stron WWW

Profile
 
 
Posted: 16 November 2010 04:23 PM   [ Ignore ]   [ # 10 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7268
Joined  05-07-2007
landitus - 14 November 2010 06:32 PM

I’m very exited with the changes and congrats to the team! I wanted to know what new features are going to be part of CI 2.0. I mean, is UTF-8 fixed? Is there a Javascript abstraction layer somewhere? Things like that. Maybe a roadmap could be shared so we can help in any way, right?

Keep the good work!

I’m not sure how Unicode was ever ‘broken’ in CodeIgniter, but there is a new Unicode class.  You can see that and more over at BitBucket

 Signature 

gregaker.net | Follow me on Twitter

Profile
MSG
 
 
Posted: 22 November 2010 06:39 AM   [ Ignore ]   [ # 11 ]  
Lab Assistant
RankRank
Total Posts:  103
Joined  08-17-2008

I want to ask something maybe not so relative.
When will be out the No 2 version?

Profile
 
 
Posted: 22 November 2010 12:13 PM   [ Ignore ]   [ # 12 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  7268
Joined  05-07-2007

dimi,

Are you referring to ExpressionEngine, or CodeIgniter version 2?

 Signature 

gregaker.net | Follow me on Twitter

Profile
MSG
 
 
Posted: 22 November 2010 05:09 PM   [ Ignore ]   [ # 13 ]  
Lab Assistant
RankRank
Total Posts:  103
Joined  08-17-2008

At CodeIgniter version 2

Profile