• /
  • Log in
  • Free account

Determine permissions requirements (PHP)


You need to determine what system permissions you need to install and use the New Relic PHP agent.


For most use cases, you will need root access to install New Relic for PHP. This is because the installation process requires privileges only available to the root user. These privileges include:

  • Read/write access to the PHP extensions directory
  • Read/write access to PHP configuration data, either in the PHP configuration directory (preferred) or in php.ini.
  • Ability to restart the web server or PHP process pool.

Running the agent does not require root access. The agent does need read/write access to the following files (the location of these files can be customized in the PHP agent settings):

For more help

If you need more help, check out these support and learning resources:

Create issueEdit page
Copyright © 2021 New Relic Inc.