• EnglishEspañol日本語한국어Português
  • Log inStart now

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):

Copyright © 2024 New Relic Inc.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.