frankenphp icon indicating copy to clipboard operation
frankenphp copied to clipboard

How to use (install) standalone binary? No documentation

Open megavolkan opened this issue 2 years ago • 5 comments

I have downloaded standalone binary file for my M1 Mac mini (frankenphp-mac-arm64). But there is no information on how to use/install the binary? Where to put it? Rename it? I'm a docker user but trying to escape from the complexity of docker. Using binary seems to be a great option but there is no clear documentation on how to use downloaded binary from scratch.

megavolkan avatar Dec 12 '23 13:12 megavolkan

there is no information on how to use/install the binary? Where to put it? Rename it?

Where do you want to use it? If you want it globally installed, you can put it somewhere in your PATH (like /usr/bin/frankenphp if it is anything like Linux) or you can put it right in your project (like some people do with composer.phar).

Using binary seems to be a great option but there is no clear documentation on how to use downloaded binary from scratch.

You should be able to run ./frankenphp --help and get some useful output, and if not, be sure to point it out. Beyond that, take a look at this page to get a pretty good idea on how to configure it (specifically, the Caddyfile part).

Hopefully, this helps!

This is still a relatively young project, so there is a ton of missing documentation, installers, and stuff like that. Contributions welcome!

withinboredom avatar Dec 12 '23 21:12 withinboredom

For the latest frankenphp use next snippet.

please run in your project folder or any other folder

curl -L -o frankenphp https://github.com/dunglas/frankenphp/releases/latest/download/frankenphp-linux-x86_64
chmod +x frankenphp
./frankenphp --version

vanodevium avatar Dec 13 '23 09:12 vanodevium