andkrau / WIN-FPM

Implements a PHP FastCGI Pool Manager on Windows
The Unlicense
2 stars 0 forks source link

Running Win-fpm #2

Open pwhodges opened 2 years ago

pwhodges commented 2 years ago

Your previous reply shows an example of running win-fpm.exe. Two things arise:

Where is win-fpm.exe, or how do I make it from win-fpm.tcl?

Can the suggested command line be run as a service, using (say) nssm?

Paul

andkrau commented 2 years ago

You can download a Windows binary here: https://github.com/andkrau/WIN-FPM/releases/tag/v2.0.0

Yes, nssm should work. It would restart the process if the PHP processes fail.

pwhodges commented 2 years ago

Thanks - I don't know why I couldn't find it before.

Anyway, I have now got it working (using nssm), and it has made a big improvement in one troublesome web site (and none in another, thus proving I have a different issue there...).

Paul

pwhodges commented 2 years ago

PS - the Caddy2 syntax is:

php_fastcgi {

        to localhost:9001         to localhost:9002         to localhost:9003         to localhost:9004         to localhost:9005         to localhost:9006         to localhost:9007         to localhost:9008 }

You can also list them all on one line with no braces, but this form looks better to me

Paul

From: andkrau @.> To: andkrau/WIN-FPM @.> Cc: pwhodges @.>, Author @.> Sent: 26/10/2021 3:12 PM Subject: Re: [andkrau/WIN-FPM] Running Win-fpm (Issue #2)

You can download a Windows binary here: https://github.com/andkrau/WIN-FPM/releases/tag/v2.0.0 Yes, nssm should work. It would restart the process if the PHP processes fail. — You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.

andkrau commented 2 years ago

Glad it helped performance. I've updated the readme with the caddy 2 example.