Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
litespeed_wiki:php:new_relic [2014/03/25 14:12]
Kevin Fwu
litespeed_wiki:php:new_relic [2014/03/25 14:21]
Kevin Fwu
Line 6: Line 6:
   * We have LSWS installed in the default directory (/​usr/​local/​lsws).   * We have LSWS installed in the default directory (/​usr/​local/​lsws).
   * These steps assume that you have downloaded the New Relic installation package and decompressed the tarball if you chose that method.   * These steps assume that you have downloaded the New Relic installation package and decompressed the tarball if you chose that method.
-  * **If you got the installation working, but newrelic isn't recognizing any information on your web server, go to Step 3**+  * **If you got the installation working, but newrelic isn't recognizing any information on your web server, go to [[litespeed_wiki:​php:​new_relic#​Step_3|Step 3]]**
   * If PHP was installed to a non-standard location (**if you installed via the Web Console, this applies to you**), then you need to do step one.  If the New Relic installation still didn't work with a standard PHP installation,​ then you might also need to do the first step.  Otherwise, you may skip it.  **For cPanel users, PHP is by default installed to /usr/local, which will be found by the install script.**   * If PHP was installed to a non-standard location (**if you installed via the Web Console, this applies to you**), then you need to do step one.  If the New Relic installation still didn't work with a standard PHP installation,​ then you might also need to do the first step.  Otherwise, you may skip it.  **For cPanel users, PHP is by default installed to /usr/local, which will be found by the install script.**
  
Line 32: Line 32:
 In the lib subdirectory of your PHP installation,​ look for a newrelic.ini or php.ini file. In the lib subdirectory of your PHP installation,​ look for a newrelic.ini or php.ini file.
  
-i.e. ''​.../​lsws/​lsphp5/​lib''​+i.e. ''​/usr/local/​lsws/​lsphp5/​lib''​
   * If it exists, you likely do not need to do this step.   * If it exists, you likely do not need to do this step.
   * If it doesn'​t:​   * If it doesn'​t:​
Line 50: Line 50:
 === Step 4: ===  === Step 4: === 
 Gracefully restart the server and check the phpinfo page (default is http://​[address]:​8088/​phpinfo.php) Gracefully restart the server and check the phpinfo page (default is http://​[address]:​8088/​phpinfo.php)
-  * Search for newrelic and it should be there. ​ If not, try restarting the New Relic Daemon first. ​ If that didn't work, try to enable Daemon Mode or grant permission to the log directory(Step 3).  ​+  * Search for newrelic and it should be there. ​ If not, try restarting the New Relic Daemon first. ​ If that didn't work, try to enable Daemon Mode or grant permission to the log directory ([[litespeed_wiki:​php:​new_relic#​step_3|Step 3]]).  ​
  
 === Step 5: ===  === Step 5: === 
 Attempt to connect to the application on the New Relic account page, and it should be working. Attempt to connect to the application on the New Relic account page, and it should be working.
  • Admin
  • Last modified: 2020/12/01 04:30
  • by Eric Leu