Updated update-server-php script so the code runs server side.