× Warning! This forum is in archival status. New contributions may not work.
Running with a stock PHP 5.5 is not supported in Airtime 2.5.1?
  • I saw this in the Release of 2.5.1

    "Running with a stock PHP 5.5 is not supported, unless you somehow managed to get php-apc installed. We will work towards this as we approach the next Ubuntu LTS release in April 2014."

    Could You explain this for me?

    I have not upgrade to 2.5.1 but if I attempt to this weekend,What additional steps is needed by me

    VOISSES
    Anyone reading this a find it funny about my grammar , I make no apology ,Go get a translator.
    "The Problem with education today is that it takes a university degree to switch on a light bulb"
    "You learn from your mistakes but wise people learn from others mistakes avoid Making mistakes there is not sufficient rooms to make them"
    "Innuendo","If's","Assumptions" and "Fear" are for politician.Who,What,where,When and How are for those seeking knowledge and care about Humanity.
    "I might be in Mud but that does not Make me a Wild Hog(pig)"
    “Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius — and a lot of courage to move in the opposite direction.”
    "The only thing that remains constant is change itself"
    May the force be with you,until our path or destiny bring us in tandem.
  • 2 Comments sorted by
  • Vote Up0Vote Down Albert FRAlbert FR
    Posts: 1,978Member, Airtime Moderator
    nope !

    php 5.5 will be only compatible with the next Airtime 2.6

    available in ...2014
  • Vote Up0Vote Down Albert SantoniAlbert Santoni
    Posts: 68Member, Sourcefabric Team, Airtime Moderator
    Hey Voisses. 
    In Airtime 2.5.1, we started using PHP-APC to cache the preferences in order to avoid hitting the database every time a preference needs to be fetched. For any given HTTP request, we could see a massive flood of database queries (causing unnecessarily high load) due to this. This problem was discovered in our hosted Airtime Pro environment, but could just as well affect other Airtime users because our schedule and player widgets currently cause Airtime to hit the database every time someone visits your website where you've embedded it.

    A quick optimization to reduce the database load was to add a simple in-memory caching layer, which is what we were able to do very quickly with PHP-APC. Unfortunately, we discovered during the 2.5.1 QA process that PHP-APC is not longer supported in PHP 5.5. I was caught by surprise on this, and I had expected something like this to be mentioned in the PHP 5.5 release notes but it isn't.

    We have a new branch the works that replaces PHP-APC with memcached, and we expect that will land in Airtime 2.6 to help us restore PHP 5.5 compatibility.

    Thanks,
    Albert
    Airtime Developer @ Sourcefabric