modify setup script, add php support