Fix PHP log