OJS 2.4.x has a minimum PHP requirement of PHP 4.2.x.  We started supporting PHP 5 only with OMP 1.0, and OJS 3 will also be that way.