Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter 3.0-dev : Minimum PHP version requirement & Compatibility with current stable PHP versions
#1

[eluser]c69821bcb[/eluser]
I guess the main development branch is for version 3.0-dev development, yet. Because this version is still under development & not released yet. That is :

https://github.com/ellislab/codeigniter/tree/develop



But, I found another branch, which is confusing me (release/3.0), what is this ? :

https://github.com/ellislab/codeigniter/...elease/3.0



Now, look at 'composer.json' & 'server-requirements' section. It states that CodeIgniter 3.0-dev needs PHP 5.2.4 minimum.

https://github.com/EllisLab/CodeIgniter/...poser.json
https://github.com/EllisLab/CodeIgniter#...quirements



Above 'composer.json' states that it require (require-dev) 'mikey179/vfsStream', may be for 'unit testing' only. Now look at 'composer.json' of this 'mikey179/vfsStream' package:

https://github.com/mikey179/vfsStream/bl...poser.json



Even 'mikey179/vfsStream' further require 'phpunit/phpunit' & 'satooshi/php-coveralls' :

https://github.com/sebastianbergmann/phpunit
https://github.com/satooshi/php-coveralls



All these packages vfsStream, phpunit & php-coveralls require PHP 5.3.x minimum. I guess this may only apply, when we run UNIT testing on our code. But, CodeIgniter 3.0-dev still depending on 5.3.x in some way.



Now, more facts ...



PHP 5.3 gone down to security fixes only in March 2013

http://php.net/releases/5_3_20.php



PHP 5.3 Reaching End of Life after 5.3.27. Plus, will be dead after July 2014 ... in 8 months.

http://php.net/archive/2013.php#id2013-07-11-1



Check support until column in release table :

http://en.wikipedia.org/wiki/PHP#Release_history



Shared Hosting : Justhost company (notable in top listing) ... a big move from this company.

Justhost is going to remove PHP 5.2.x & 5.3.x from their shared hosting servers. Only PHP 5.4 will be available on their shared hosting servers after 1st December 2013.



I'm not saying to re-write the code ... to utilize new features of PHP 5.3, 5.4 & 5.5 etc. I'm just saying, encourage users to upgrade PHP version to latest stable versions. And, fix compatibility issues of CodeIgniter in new versions by removing deprecated functions & requirements in CodeIgniter.



FINAL : Deprecated features / functions need to find & fix for the compatibility with PHP 5.4.x or even up to PHP 5.5.X. I'm big fan of CodeIgniter & work with CodeIgniter daily. So, I want to ensure that CodeIgniter 3.0-dev to be fully compatible with current stable versions of PHP.



All this : is just based on my knowledge. I may be taking something in wrong aspect ... So, please submit your views please.



Thanks
#2

[eluser]ci_user[/eluser]
When I go to cast my vote I get "The action you have requested is invalid." Come on guys!
#3

[eluser]c69821bcb[/eluser]
[quote author="ci_user" date="1385057301"]When I go to cast my vote I get "The action you have requested is invalid." Come on guys![/quote]

I did get same message while i tried to cast my vote regrading PHP version "The action you have requested is invalid." I thought, this may be like, forum do not allow author to vote on their own posted polls & only other users can Vote. But it seems like Voting module is not working.
#4

[eluser]Peacemoon[/eluser]
If you see travis page for codeigniter, you can see that it tests only agains php >= 5.3
https://travis-ci.org/EllisLab/CodeIgniter




Theme © iAndrew 2016 - Forum software by © MyBB