Russell on Nostr: s4if 🇵🇸 🇮🇩 Dockerizing PHP is a little more difficult than Node but not ...
s4if 🇵🇸 🇮🇩 (npub138s…0ljc) Dockerizing PHP is a little more difficult than Node but not by much. You can use a single container, php:8.2-apache, to get the same result. I know php-fpm and nginx are "the new hotness" but most applications still run just fine in apache with mod_php. It won't have any problems running a simple webapp. If you disable `.htaccess` it will have the same performance as Nginx+php-fpm.
Published at
2023-10-18 17:59:36Event JSON
{
"id": "4ebdc895ceebdc8da8529467eafcfaedd31d687f3966bd0be35bead78fb5ed3b",
"pubkey": "955f09c8b00819b73f0a22b367573ec4e5e5fba079df3753714c98930112dd28",
"created_at": 1697651976,
"kind": 1,
"tags": [
[
"p",
"89e0f2462e6bb374c989a85e01282546f2bc4cedb7cee8bd80889a79ee2b8f94",
"wss://relay.mostr.pub"
],
[
"e",
"0c96cbbfbf58af4b545333694c1e002ed30fbaedebe9123effb4635244f27765",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.social/users/zimzat/statuses/111257319901289699",
"activitypub"
]
],
"content": "nostr:npub138s0y33wdwehfjvf4p0qz2p9gmetcn8dkl8w30vq3zd8nm3t372qjq0ljc Dockerizing PHP is a little more difficult than Node but not by much. You can use a single container, php:8.2-apache, to get the same result. I know php-fpm and nginx are \"the new hotness\" but most applications still run just fine in apache with mod_php. It won't have any problems running a simple webapp. If you disable `.htaccess` it will have the same performance as Nginx+php-fpm.",
"sig": "ba3f0e4e8355b15ca5efb823b8f8fadb9c49d88ed5f3ed5752b4edb9ead68820a776c042117ef7e2fd2ebcf5270464eb442ef48c94f661bdb0d53a98082f0785"
}