nginx_php
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
nginx_php [2023/01/28 20:46] – [Configuration Files] admin | nginx_php [2023/01/28 21:10] (current) – [Finish] admin | ||
---|---|---|---|
Line 55: | Line 55: | ||
WARNING if you are tempted | WARNING if you are tempted | ||
- | |||
- | If you don' | ||
Otherwise you'll have problems you don't want to have to fix. Same goes for the nginx config file. | Otherwise you'll have problems you don't want to have to fix. Same goes for the nginx config file. | ||
- | Copy this block and paste it directly into your shell. | + | If you don' |
+ | |||
+ | Highlight and copy this block and paste it directly into your shell. | ||
< | < | ||
cat >/ | cat >/ | ||
Line 98: | Line 98: | ||
Here's my nginx config. | Here's my nginx config. | ||
+ | Highlight and copy this block and paste it directly into your shell. | ||
< | < | ||
cat >/ | cat >/ | ||
Line 164: | Line 165: | ||
service nginx restart && service php${PHP_VER}-fpm restart | service nginx restart && service php${PHP_VER}-fpm restart | ||
</ | </ | ||
+ | |||
+ | Test with these commands: | ||
+ | < | ||
+ | cd / | ||
+ | cat > | ||
+ | <?php | ||
+ | phpinfo( ); | ||
+ | ?> | ||
+ | EOF | ||
+ | </ | ||
+ | Now bring up a browser and go to http:// | ||
+ | |||
+ | Where YOUR_DOMAIN is the value you set into ${DOMAIN} earlier. | ||
+ | |||
This is somewhat tested. | This is somewhat tested. | ||
nginx_php.1674935170.txt.gz · Last modified: 2023/01/28 20:46 by admin