This custom template will automatically register each of the PHP running sites on a shared server as individual applications (using the domain name) on NewRelic.
- Copy these template set into
/usr/local/folder. Making the new custom scripts available at/usr/local/psa/admin/conf/templates/custom. - Ask Plesk to regenerate all the scripts. Parallels's offical document recommend
/usr/local/psa/admin/bin/httpdmng --reconfigure-allto be called as root via terminal / ssh.
- NewRelic Per-directory INI Settings
- Changing Virtual Hosts Settings Using Configuration Templates
- Apache Configuration Variables
- Configuration Templates Structure
- run
/usr/local/psa/admin/bin/httpdmng --reconfigure-allafter changes are made to recompile all existing configs