J'ai suivi ce tuto pour installer PHP 8 mais je n'y parviens pas :

Lors de la commande brew install shivammathur/php/php@8.0 :

➜ ~ brew install shivammathur/php/php@8.0
==> Installing php from shivammathur/php
==> Downloading
Already downloaded: /Users/X/Library/Caches/Homebrew/downloads/ca2fec76e9dd97846d4bd00ae28d1567d4183813b184172f3fa17c4ed33e2b41--php-8.0.2.big_sur.bottle.tar.gz
==> Pouring php-8.0.2.big_sur.bottle.tar.gz
==> /usr/local/Cellar/php/8.0.2/bin/pear config-set php_ini /usr/local/etc/php/8.0/php.ini system
Last 15 lines from /Users/X/Library/Logs/Homebrew/php/post_install.01.pear:
2021-02-10 21:45:24 +0100


dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicuio.67.dylib
Referenced from: /usr/local/Cellar/php/8.0.2/bin/php
Reason: image not found
Warning: The post-install step did not complete successfully
You can try again using:
brew postinstall shivammathur/php/php
==> Caveats
To enable PHP in Apache add the following to httpd.conf and restart Apache:
LoadModule php_module /usr/local/opt/php/lib/httpd/modules/

<FilesMatch \.php$>
    SetHandler application/x-httpd-php

Finally, check DirectoryIndex includes index.php
DirectoryIndex index.php index.html

The php.ini and php-fpm.ini file can be found in:

To have launchd start shivammathur/php/php now and restart at login:
brew services start shivammathur/php/php
Or, if you don't want/need a background service you can just run:
==> Summary
🍺 /usr/local/Cellar/php/8.0.2: 500 files, 77.8MB

Je me prends plein d'erreur, j'ai essayé tout ce qui était conseillé, en vain

Pouvez-vous m'aider svp ?

Aucune réponse