ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

CodeIgniter 3.0-dev : Minimum PHP version requirement & Compatibility with current stable PHP versions

November 20, 2013 10:11am

Subscribe [1]
  • #1 / Nov 20, 2013 10:11am

    c69821bcb's avatar

    c69821bcb

    3 posts

    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/tree/release/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/blob/develop/composer.json
    https://github.com/EllisLab/CodeIgniter#server-requirements

     

    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/blob/master/composer.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 / Nov 21, 2013 1:08pm

    ci_user

    30 posts

    When I go to cast my vote I get “The action you have requested is invalid.” Come on guys!

  • #3 / Nov 21, 2013 6:37pm

    c69821bcb's avatar

    c69821bcb

    3 posts

    When I go to cast my vote I get “The action you have requested is invalid.” Come on guys!

    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 / Dec 06, 2013 10:29am

    Peacemoon

    3 posts

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

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases