static php5 fix