Show HN: FrankenPHP, an app server for PHP written in Go
11–20 of 93 posts
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#12I might be missing the obvious but why would you add extra complexity to your infrastrucutre setup when PHP can be run natively from within caddy, apache, nginx via fastcgi.
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#13My current setup is a DigitalOcean Droplet with Nginx and php-fpm.
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#14It'd be great to see how a Laravel app could run on FrankenPHP and see if there are speed gains. My current setup is a DigitalOcean Droplet with Nginx and php-fpm.
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#15The traditional idea is to build a plug-in for the parent webserver. By essentially "making a fork" of Caddy, if you want to add other plugins to Caddy and then incorporate them into FrankenPHP, it's a lot more work. If instead you ship a PHP plugin to Caddy, you can manage Caddy instead and mix and match different functionality in one place.
But I guess it's heretical to suggest somebody use plugins in Go, if the whole idea is everything is a static binary.
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#16If it is Go, can I not just compile the binary and execute ?
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#17I might be missing the obvious but why would you add extra complexity to your infrastrucutre setup when PHP can be run natively from within caddy, apache, nginx via fastcgi.
nginx, php-fpm, some init system, and the convoluted configuration needed to get logs out via Docker's logging mechanism.
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#18I've been watching how Go and Rust tooling has been finding its way into the JavaScript ecosystem. I've been out of the PHP realm for about 10 years but I did find RoadRunner for PHP at one point. That's also an app server written in Go I believe. I wonder how this compares.
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#19So it's mod_php for Caddy, in reverse? The traditional idea is to build a plug-in for the parent webserver. By essentially "making a fork" of Caddy, if you want to add other plugins to Caddy and then incorporate them into FrankenPHP, it's a lot more work. If instead you ship a PHP plugin to Caddy, you can manage Caddy instead and mix and match different functionality in one place. But I guess it's heretical to sugges…
Re: Show HN: FrankenPHP, an app server for PHP written in Go
#20I see a bit of C as well ? Also, do we need to use Docker ? I am very interested in trying but wanted to check. If it is Go, can I not just compile the binary and execute ?