Ensure PHP Agent "external" startup mode writes to correct config file

Copy pasta