Skip to content

Commit a2d7f66

Browse files
committed
Add a tip about signing Symfony server binary on macOS
1 parent 48e1028 commit a2d7f66

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

Diff for: setup/symfony_server.rst

+12
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,18 @@ run the Symfony server in the background:
5656
# show the latest log messages
5757
$ symfony server:log
5858
59+
.. tip::
60+
61+
On macOS, when starting the Symfony server you might see a warning dialog asking
62+
_"Do you want the application to accept incoming network connections?"_.
63+
This happens when running unsigned appplications that are not listed in the
64+
firewall list. The solution is to run this command that signs the Symfony binary:
65+
66+
.. code-block:: terminal
67+
68+
# change the path to the location of your Symfony binary
69+
$ sudo codesign --force --deep --sign - /opt/homebrew/Cellar/symfony-cli/5.4.21/bin/symfony
70+
5971
Enabling PHP-FPM
6072
----------------
6173

0 commit comments

Comments
 (0)