Preparing PHP files for external management webserver