On my university's servers they are running PHP 5.2.6. I was planning on creating my end of year project using FuelPHP but have just been informed that the I.T. department don't want to upgrade to PHP 5.3 even though I was earlier told that it shouldn't be a problem.
Is it possible to "hack" FuelPHP to work with PHP 5.2.6 or not? I noticed that the __DIR__ magic contant is being used in the index, I know that I can change that but is there anything else in the Framework that depends on PHP 5.3?
If it isn't possible can anyone recommend another framework to use that will work with PHP 5.2.6? I am thinking of using CodeIgniter.
FuelPHP requires PHP 5.3.3+. It relies heavily on namespaces and late static binding, which is not available before 5.3.
Your IT department is aware of the fact that PHP 5.2 was declared end of life 771 days ago? And that it is a security risk running a non-maintained version that has known security issues? And that is is a piece of cake to run multiple PHP versions on a single server? And even easier to setup a second server that is up to date, so they can start migrations, and not block new developments?
Most decent frameworks require 5.3 these days. CodeIgniter will work with 5.2, but then you're going to use a framework that has it's roots in PHP4, and isn't moving anywhere fast.
Thanks for the quick reply. I know that PHP 5.2 has reached it's "end of life" but the I.T. department just won't do anything. I've already asked them to run a second version of PHP alonside the current version but they refused.
Haha, I agree. I've already spoken to my group about the problem. We're going to try complaining to a few people today to see if we can apply a bit of pressure on them.