SheppardDigital
asked on
php.ini issue
Hi.
I have a server running cPanel, and I've installed New Relic so I can keep an eye on applications. By default New Relic monitors every application on the server as one, but I want to monitor an individual website.
To do this I believe I needed to add ' newrelic.appname "Shopping Cart"' to a PHP.INI file in the root of the website.
Before doing this, the output of phpinfo() shows that the newrelic module is loaded and everything is fine, however as soon as I create a php.ini file in the root of the site, the newrelic module no longer loads.
I'm sure the idea is that it loads the global PHP.INI file, and then I can simply overwrite the application name.
If I change other settings in the local php.ini file they are reflected in the phpinfo() absolutely fine.
Does anyone have any idea why the module won't load when I create a local php.ini file for a particular domain?
I have a server running cPanel, and I've installed New Relic so I can keep an eye on applications. By default New Relic monitors every application on the server as one, but I want to monitor an individual website.
To do this I believe I needed to add ' newrelic.appname "Shopping Cart"' to a PHP.INI file in the root of the website.
Before doing this, the output of phpinfo() shows that the newrelic module is loaded and everything is fine, however as soon as I create a php.ini file in the root of the site, the newrelic module no longer loads.
I'm sure the idea is that it loads the global PHP.INI file, and then I can simply overwrite the application name.
If I change other settings in the local php.ini file they are reflected in the phpinfo() absolutely fine.
Does anyone have any idea why the module won't load when I create a local php.ini file for a particular domain?
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
ASKER