Adds a file path to write the port to. Fixes format for apache.