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 17:58]
Kevin Fwu
litespeed_wiki:php:new_relic [2018/09/14 16:02]
Michael Alegre
Line 4: Line 4:
   * In this example, we used the tarball installation (v4.6.5.40),​ not the Ubuntu/​Debian nor the RedHat/​CentOS installation,​ so the steps may be different on those installations.   * In this example, we used the tarball installation (v4.6.5.40),​ not the Ubuntu/​Debian nor the RedHat/​CentOS installation,​ so the steps may be different on those installations.
   * We used PHP v5.4.25 installed by the Web Admin Console in its default directory.   * We used PHP v5.4.25 installed by the Web Admin Console in its default directory.
-  * 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 [[litespeed_wiki:​php:​new_relic#​Step_3|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.**
  
 === Step 1: === === Step 1: ===
Line 41: Line 41:
  
 === Step 3: ===  === Step 3: === 
-If you run your web server in [[http://​www.litespeedtech.com/​products/​litespeed-sapi/​php/​suexec-daemon-mode|suEXEC ​Daemon ​Mode]], then you can skip this step.  If you don't, you may need to give permissions to the newrelic log directory to get it working.+If you run your web server in [[http://​www.litespeedtech.com/​products/​litespeed-sapi/​php/​suexec-daemon-mode|Daemon ​mode]], then you can skip this step.  If you don't, you may need to give permissions to the newrelic log directory to get it working.
   * If you need to do this step, I did:   * If you need to do this step, I did:
 <​code>​ > cd /var/log <​code>​ > cd /var/log
Line 49: Line 49:
  
 === 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 ''<​nowiki>​http://​[address]:​8088/​phpinfo.php</​nowiki>''​)
   * 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]]).  ​   * 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