nndocs:lamp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | Next revisionBoth sides next revision | ||
nndocs:lamp [2018/07/04 00:19] – we don't use PHP APC anymore. naptastic | nndocs:lamp [2018/07/04 00:30] – Add FIXMEs. naptastic | ||
---|---|---|---|
Line 85: | Line 85: | ||
You'll need these: | You'll need these: | ||
- | * This is so wrong | ||
* '' | * '' | ||
Line 98: | Line 97: | ||
* '' | * '' | ||
+ | FIXME Path is wrong | ||
Install '' | Install '' | ||
* '' | * '' | ||
+ | FIXME We use systemd service definition files now, not init scripts. | ||
Install the initscript: | Install the initscript: | ||
Line 109: | Line 110: | ||
* '' | * '' | ||
+ | FIXME Path is wrong | ||
Install the FPM-specific configuration files. | Install the FPM-specific configuration files. | ||
* '' | * '' | ||
+ | FIXME Path is wrong | ||
Edit the file ''/ | Edit the file ''/ | ||
Line 120: | Line 123: | ||
error_log = / | error_log = / | ||
+ | FIXME Path is wrong | ||
In ''/ | In ''/ | ||
- | I'm debating whether it makes more sense to create a separate pool per-virtualhost instead of per-user. Whatever. | + | Here's what you put in each pool definition file: |
[david] | [david] | ||
Line 141: | Line 145: | ||
; | ; | ||
- | Of course, change ' | + | FIXME Path is wrong |
- | "But David," I hear you asking, "Why didn't you put it in / | + | Of course, change ' |
At this point, PHP-FPM is ready to start if you want. | At this point, PHP-FPM is ready to start if you want. | ||
Line 151: | Line 155: | ||
==== LAMP stack done. ==== | ==== LAMP stack done. ==== | ||
- | Time to create some sites. By Debian convention, | + | Time to create some sites. By Debian convention, |
Here's the format for virtualhost files: | Here's the format for virtualhost files: | ||
Line 185: | Line 189: | ||
FIXME - This is specific to one site. Needs to be generalized. | FIXME - This is specific to one site. Needs to be generalized. | ||
+ | FIXME - This vhost is full of Apache 2.2 stuff and talks to FPM over a TCP socket instead of a socket file. Please update from an existing, optimized site. |
nndocs/lamp.txt · Last modified: 2024/09/17 13:51 by naptastic