Fixed conditions for check php version