From a2d7f66fe51a22bdcddabe98ff6d3885af5b0176 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 8 Feb 2023 17:59:39 +0100 Subject: [PATCH] Add a tip about signing Symfony server binary on macOS --- setup/symfony_server.rst | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/setup/symfony_server.rst b/setup/symfony_server.rst index 7420001f742..f6e348d02a3 100644 --- a/setup/symfony_server.rst +++ b/setup/symfony_server.rst @@ -56,6 +56,18 @@ run the Symfony server in the background: # show the latest log messages $ symfony server:log +.. tip:: + + On macOS, when starting the Symfony server you might see a warning dialog asking + _"Do you want the application to accept incoming network connections?"_. + This happens when running unsigned appplications that are not listed in the + firewall list. The solution is to run this command that signs the Symfony binary: + + .. code-block:: terminal + + # change the path to the location of your Symfony binary + $ sudo codesign --force --deep --sign - /opt/homebrew/Cellar/symfony-cli/5.4.21/bin/symfony + Enabling PHP-FPM ----------------