Issue
- We see the newrelic PHP extension in the PHP selector. Does this start the newrelic daemon when the extension is enabled on a specific site?
- Where does a user put the license key? Can we just make an ini file in
/etc/cl.php.d/alt-php74/newrelic.ini
for the license details?
Environment
- Cloudlinux PHP Selector
Solution
-
The NewRelic service is not running automatically when you enable extension for the end user. You need to start the service manually using the following command:
# systemctl start alt-phpXX-newrelic-daemon.service
where XX depends on ALT-PHP version.
-
Yes, you can put the license key into the "newrelic.ini" file for the end user:
# su -s /bin/bash USERNAME # nano /etc/cl.php.d/alt-php74/newrelic.ininewrelic.license="YOUR LICENSE KEY"
Useful links
https://docs.newrelic.com/docs/agents/php-agent/getting-started/introduction-new-relic-php/
https://docs.newrelic.com/docs/agents/php-agent/getting-started/new-relic-daemon-processes/
Comments
0 comments
Please sign in to leave a comment.