Skip to content

Passwordless install via install.sh #2156

@alexander-schranz

Description

@alexander-schranz

Describe your feature request

I'm on mac and if I run:

curl https://frankenphp.dev/install.sh | sh

It ask me for password. Without I'm knowing why it wants my password:

curl https://frankenphp.dev/install.sh | sh
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  4747  100  4747    0     0  53436      0 --:--:-- --:--:-- --:--:-- 53337
📦 Downloading FrankenPHP for Darwin (arm64):
######################################################################## 100.0%
Password:
Sorry, try again.

What is happening here. I would expect that it just downloads the correct ./frankenphp without modifying my System, specially not without asking.

If give the password Other errors happening:

❗ install setcap (e.g. libcap2-bin) to allow FrankenPHP to bind to ports 80/443 without root:
	 sudo setcap 'cap_net_bind_service=+ep' "/my/dir/frankenphp"

🥳 FrankenPHP downloaded successfully to /my/dir/frankenphp
❗ It uses /etc/frankenphp/php.ini if found.
🔧 Move the binary to /usr/local/bin/ or another directory in your PATH to use it globally:
	sudo mv /my/dir/frankenphp /usr/local/bin/

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions