Posts

Showing posts with the label php

Fixing "Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib\n Referenced from: /usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so\n Reason: image not found" after a php Update on a Mac

A few weeks ago, I discovered the Wordpress "Site Health Status" tool. I saw that it recommended upgrading my outdated version of php so, being a good "computer guy", I went ahead and did the upgrade. After the update, I found that I could not view my website. After digging around to remind myself about the sudo apachectl -k restart command, I got the error message httpd: Syntax error on line 183 of /usr/local/etc/httpd/httpd.conf: Cannot load /usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so into server: dlopen(/usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so, 10): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.62.dylib\n Referenced from: /usr/local/opt/php@7.0/lib/httpd/modules/libphp7.so\n Reason: image not found Since I use the Homebrew package manager, I followed the advice to do a brew upgrade brew cleanup However, even after doing this, I found I still had the problem. Trying other advice, I tried reinstalling php, and saw advice...