Airtime and PHP 5.3
  • Hi

    We mover server to Ubunto 14.04 - specifically to support Airtime - and I 
    did check that my other packages would work ok on that server.

    What we didn’t know was a previous developer had done customisation work 
    in PHP 5.3  that is not supported on PHP 5.4 or above 

    'Since PHP 5.4, you cannot use a superglobal as the parameter to a function’


    My question  is - if I downgrade to PHP 5.3, is this likely to cause 
    any problems with Airtime 5.2.1  on Ubuntu 14.04


    thanks for any help

    Dave
  • 2 Comments sorted by
  • Yes, it certainly will cause problems and it will not work at all.
    Your developer has been continualy ignoring PHP warnings that superglobals were deprecated and were going to be phased out in 5.4 There are very good security reasons for it and all over the web FOR YEARS have been posts to not use superglobals. Get him to fix it and cross your developer off your Xmas card list. It is easy to fix using session variables instead.

    Post edited by John Chewter at 2015-04-08 08:55:54
    No longer using Airtime or Libretime.
  • Thanks John

    there is certainly no misunderstanding  the point you have made :)

    i did sack these developers last November  - as i am not a code person i did not understand what was going on

    i will speak to to a new developer about the problem

    thanks again

    Dave