Skip to content

Add a tip about signing Symfony server binary on macOS #17881

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Feb 10, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions setup/symfony_server.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
----------------

Expand Down