Mark Gardner ‍:sdf: · @mjgardner
642 followers · 3846 posts · Server social.sdf.org

@vandys @randomgeek @codinghorror As a hacker I will never besmirch as a standard or for light-use web scripts, but a lot of sins were committed with the two.

These days the done thing is to use and a framework like or in a persistent app server. You don’t have to write nearly as much code, either. plackperl.org

The middleware can even run your code as a CGI or script if you reallly want.

#perl #cgi #psgi #mojolicious #dancer2 #plack #fastcgi

Last updated 1 year ago

Ru :blobcatsadlife: · @ru
549 followers · 3266 posts · Server fosstodon.org

ELI10 What the heck is

#fastcgi #php

Last updated 1 year ago

Mark Gardner · @mjgardner
370 followers · 1134 posts · Server social.sdf.org

@freyfogle ’s bad rap came not from its programming model, but from its execution model of spawning a new process apart from the web server for every request. mitigated that by spinning up a separate persistent server that handles requests over and over again without forking, communicating with the web server over a socket, pipe, or TCP. It’s the same model as any other web application server.

#cgi #fastcgi

Last updated 2 years ago

Mark Gardner · @mjgardner
296 followers · 495 posts · Server social.sdf.org

@simon @js @berkes I have fond memories of a bespoke CRUD app I made in the mid-2000s. I got to choose every single component down to the bug tracker because I was a dev team of one, but I made sure there was both a stack and a process I could hand off so I could walk away when the project was over.

#fastcgi

Last updated 2 years ago

Günter :mildpanic: · @lifeofguenter
150 followers · 431 posts · Server convo.casa

@sirber @rasmus all other features remain the same. vs is just transport protocol, not changing any logic. But by supporting http, you can plug it into various http-based loadbalancers/ingress-controllers out-of-the-box

#http #fastcgi

Last updated 2 years ago

Günter :mildpanic: · @lifeofguenter
150 followers · 431 posts · Server convo.casa

Lots of chat around 8.2 release. One single feature (in two steps) will completely change the game:
1. Make php-fpm talk http (instead of outdated ) - also support static assets: removes any need for nginx sidecars, future proofing containerization.
2. Add new fpm mode: persistent. This means apps might break but this will ultimately put PHP performance wise back into competition with and even @rasmus wdyt?

#php #fastcgi #python #golang

Last updated 2 years ago

I am preparing to host a Pixelfed instance and got stuck at nginx available site configuration. I used unixsocket for redis and not sure if I have to use unixsocket for fastcgi too.
Would it be fine if I set "fastcgi_pass localhost:9000;" rather than "fastcgi_pass Unix:/run/php-fpm/php-fpm.sock;" ?

I am asking because I couldn't locate php-fpm.sock or php-fpm8.1.sock anywhere in the system.

#phpfpm #unixsocket #fastcgi #nginx #pixelfed #ubuntu

Last updated 2 years ago

The more I struggle with the more I understand why :go_gopher: was designed to always produce with their own embedded webserver instead of using or whatever.

#webappdeployment #golang #staticbinaries #fastcgi

Last updated 2 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚢 New minor v3.1.6 of hollodotme/fast-cgi-client, adding compatibility with PHP 8.1
👉 github.com/hollodotme/fast-cgi

#release #php #oss #fastcgi #fpm

Last updated 3 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

My of today's talk about Client at the are up on speakerdeck. Thank you @thePHPcc@twitter.com for having me, thanks to all attendees for listening.
👉 speakerdeck.com/hollodotme/fas

#slides #fastcgi #OnlinePHPConference #php #oss

Last updated 4 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚢 New v3.1.4 of hollodotme/fast-cgi-client is available - Adds compatibility with - github.com/hollodotme/fast-cgi

#release #php8 #php #oss #fastcgi

Last updated 4 years ago

andi // redplanet · @andi
174 followers · 81 posts · Server circus.town

Lesson learned for and -fpm

set
fastcgi_buffering off
in nginx config to avoid directory-zip-download stopping with unfinished transfer and http status 200 after (in my case) 30sec

#php #fastcgi #nginx #nextcloud

Last updated 4 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚢 New v3.1.3 of hollodotme/fast-cgi-client is out - : broken sockets were not removed from internal collection after writing a request failed. Thanks @TobiasNyholm@twitter.com for the pointer! Also polished some code & tests. - github.com/hollodotme/fast-cgi

#release #bugfix #php #fastcgi #oss

Last updated 4 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚢 New v3.1.0 of hollodotme/fast-cgi-client is out. New feature allowing to compose url-encoded, multipart form-data (file uploads), JSON data & custom request contents with more ease. Have a look at the docs: github.com/hollodotme/fast-cgi

#release #php #oss #fastcgi

Last updated 5 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚢 A new version v3.0.1 of hollodotme/fast-cgi-client is out. This release brings compatibility with 7.4. Thank you @themsaid@twitter.com for your contribution!

github.com/hollodotme/fast-cgi

#php #fastcgi #oss

Last updated 5 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🐣 A new v3.0.0 of hollodotme/fast-cgi-client is available. Coming with no additional features (compared to since 3.0.0-beta) but internal improvements. Please read the CHANGELOG for migrating from v2.x to v3.x.

github.com/hollodotme/fast-cgi

#release #php #oss #fastcgi #client #lib

Last updated 5 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🦋New version v3.0.0-beta of hollodotme/fast-cgi-client has been - Allows to send requests to different servers using ONE client instance, improves semantics of public api & docs - ⚠️BC breaks - please test & report issues!
github.com/hollodotme/fast-cgi

#released #php #oss #fastcgi

Last updated 5 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚢 A new version v0.2.0 of hollodotme/fast-cgi-proxy has been - Adds new features for requests & cluster status retrieval. It includes several improvements & some BC breaks. Thank you @mikesoule@twitter.com for the inspiration! 😊
github.com/hollodotme/fast-cgi

#released #fastcgi #cluster

Last updated 5 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

v2.7.1 of hollodotme/fast-cgi-client - Fixes a bug that could cause infinite retries/re-uses of broken socket connections in particular cases.

github.com/hollodotme/fast-cgi

#bugfix #release #oss #php #fastcgi #library

Last updated 6 years ago

Holger Woltersdorf · @hollodotme
67 followers · 1774 posts · Server phpc.social

🚀Version 2.7.0 of hollodotme/fast-cgi-client has been released. The client now automatically re-uses idle connections on successive requests. That can improve performance & use less resources (depending on use-case).

github.com/hollodotme/fast-cgi

#oss #php #fastcgi #library

Last updated 6 years ago