Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | Next revision Both sides next revision | ||
litespeed_wiki:php:new_relic [2017/04/21 12:59] Michael Alegre Removed example hyperlink. |
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 |