Fix paths in PHP