The old way of getting into Recovery Mode no longer works (Restart and hold Command-R). It is now Press and (keep) holding the power button until you see the message. Far simpler actually
ls -al $(brew --repo homebrew/core)
cd $(brew --repo homebrew/core)/Formula ; grep -l arm64_big_sur: *.rb | sed 's/.rb$//'
brew doctor brew config ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" or /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && /opt/homebrew/bin/brew install git && /opt/homebrew/bin/git --version
Big Sur seems to have removed the Web Server from the Sharing tab in the Control Panel. But it is actually still on the system.
This MAMP however, stops and unloads this version so that it can use the Homebrew version.
Basic steps are:
xcode-select --install
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
brew install httpd
brew install php
brew install maria
brew install openssl
http, php, MariaDB and OpenSSL config files all need modifying so best to use this document - github.com
But beware the directory paths mentioned are no longer correct with more recent versions of brew. They are now under /opt/homebrew/var and /opt/homebrew/etc etc..
Log of httpd installation
==> Auto-updated Homebrew! Updated 1 tap (homebrew/core). ==> New Formulae virtualenv ==> Updated Formulae Updated 41 formulae. ==> Downloading https://homebrew.bintray.com/bottles/apr-1.7.0_2.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/d8adb33071a6a845ff928b6166377dea6de5b642b412042002386416354932b9?response-content-disposition=attachment%3Bfilename%3D%22apr-1.7.0_2.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/openssl%401.1-1.1.1j.arm64_big_sur.bottle.1.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/39a86fd4fe2e3739b60c4f9ca81752c38e32178b141dd884de197a3f284538a6?response-content-disposition=attachment%3Bfilename%3D%22openssl%401.1-1.1.1j.arm64_big_sur.bottle.1.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvd ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/29ffec15c99813b879d9410e2040044b02ee8e219492d065043b4bb65cf30741?response-content-disposition=attachment%3Bfilename%3D%22apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/brotli-1.0.9.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/bcd00b6f423ec35f98aec55bc2c1cf433b6e70e915cdf04dd2c3a3707f1ce341?response-content-disposition=attachment%3Bfilename%3D%22brotli-1.0.9.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/c-ares-1.17.1.arm64_big_sur.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/jemalloc-5.2.1_1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/724ab5947e53f571b9fed9e776a1ba22b1d71fe27ce5775553d70e990ef9dc63?response-content-disposition=attachment%3Bfilename%3D%22jemalloc-5.2.1_1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libev-4.33.arm64_big_sur.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/nghttp2-1.43.0.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e927b6ac25987d073b7d65d87bf27b30a95cd1196ffff4b5b82bf955da42b1c7?response-content-disposition=attachment%3Bfilename%3D%22nghttp2-1.43.0.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6I ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/pcre-8.44.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e70ba0f6ae7f9ef638f4564d6b75b8d1e9db9f427057e9029e1686471e9174c6?response-content-disposition=attachment%3Bfilename%3D%22pcre-8.44.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dH ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/httpd-2.4.46_2.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/35357c35f6be07c0f3e60d64c88eae200158dca6e390a341569a9f0296ed33fb?response-content-disposition=attachment%3Bfilename%3D%22httpd-2.4.46_2.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6I ######################################################################## 100.0% ==> Installing dependencies for httpd: apr, [email protected], apr-util, brotli, c-ares, jemalloc, libev, nghttp2 and pcre ==> Installing httpd dependency: apr ==> Pouring apr-1.7.0_2.arm64_big_sur.bottle.tar.gz ==> Caveats apr is keg-only, which means it was not symlinked into /opt/homebrew, because Apple's CLT provides apr. If you need to have apr first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/apr/bin:$PATH"' >> ~/.zshrc For compilers to find apr you may need to set: export LDFLAGS="-L/opt/homebrew/opt/apr/lib" export CPPFLAGS="-I/opt/homebrew/opt/apr/include" ==> Summary 🍺 /opt/homebrew/Cellar/apr/1.7.0_2: 104 files, 1.4MB ==> Installing httpd dependency: [email protected] ==> Pouring [email protected]_big_sur.bottle.1.tar.gz ==> Regenerating CA certificate bundle from keychain, this may take a while... ==> Caveats A CA file has been bootstrapped using certificates from the system keychain. To add additional certificates, place .pem files in /opt/homebrew/etc/[email protected]/certs and run /opt/homebrew/opt/[email protected]/bin/c_rehash [email protected] is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides LibreSSL. If you need to have [email protected] first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc For compilers to find [email protected] you may need to set: export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" ==> Summary 🍺 /opt/homebrew/Cellar/[email protected]/1.1.1j: 8,071 files, 18MB ==> Installing httpd dependency: apr-util ==> Pouring apr-util-1.6.1_3.arm64_big_sur.bottle.tar.gz ==> Caveats apr-util is keg-only, which means it was not symlinked into /opt/homebrew, because Apple's CLT provides apr (but not apr-util). If you need to have apr-util first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/apr-util/bin:$PATH"' >> ~/.zshrc ==> Summary 🍺 /opt/homebrew/Cellar/apr-util/1.6.1_3: 54 files, 916.1KB ==> Installing httpd dependency: brotli ==> Pouring brotli-1.0.9.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/brotli/1.0.9: 25 files, 2.3MB ==> Installing httpd dependency: c-ares ==> Pouring c-ares-1.17.1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/c-ares/1.17.1: 85 files, 693.6KB ==> Installing httpd dependency: jemalloc ==> Pouring jemalloc-5.2.1_1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/jemalloc/5.2.1_1: 16 files, 2.2MB ==> Installing httpd dependency: libev ==> Pouring libev-4.33.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/libev/4.33: 12 files, 501.0KB ==> Installing httpd dependency: nghttp2 ==> Pouring nghttp2-1.43.0.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/nghttp2/1.43.0: 24 files, 2.8MB ==> Installing httpd dependency: pcre ==> Pouring pcre-8.44.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/pcre/8.44: 204 files, 4.6MB ==> Installing httpd ==> Pouring httpd-2.4.46_2.arm64_big_sur.bottle.tar.gz ==> Caveats DocumentRoot is /opt/homebrew/var/www. The default ports have been set in /opt/homebrew/etc/httpd/httpd.conf to 8080 and in /opt/homebrew/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo. To have launchd start httpd now and restart at login: brew services start httpd Or, if you don't want/need a background service you can just run: apachectl start ==> Summary 🍺 /opt/homebrew/Cellar/httpd/2.4.46_2: 1,657 files, 31.7MB ==> Upgrading 1 dependent: wget 1.21 -> 1.21.1 ==> Upgrading wget 1.21 -> 1.21.1 ==> Downloading https://homebrew.bintray.com/bottles/wget-1.21.1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e9034fc9062d5d28972135be031876672aff18fa945ce37e9c2ee1e2c4287f3a?response-content-disposition=attachment%3Bfilename%3D%22wget-1.21.1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0 ######################################################################## 100.0% ==> Pouring wget-1.21.1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/wget/1.21.1: 88 files, 4MB Removing: /opt/homebrew/Cellar/wget/1.21... (88 files, 4.1MB) ==> Checking for dependents of upgraded formulae... ==> No broken dependents found! ==> Caveats ==> apr apr is keg-only, which means it was not symlinked into /opt/homebrew, because Apple's CLT provides apr. If you need to have apr first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/apr/bin:$PATH"' >> ~/.zshrc For compilers to find apr you may need to set: export LDFLAGS="-L/opt/homebrew/opt/apr/lib" export CPPFLAGS="-I/opt/homebrew/opt/apr/include" ==> [email protected] A CA file has been bootstrapped using certificates from the system keychain. To add additional certificates, place .pem files in /opt/homebrew/etc/[email protected]/certs and run /opt/homebrew/opt/[email protected]/bin/c_rehash [email protected] is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides LibreSSL. If you need to have [email protected] first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/[email protected]/bin:$PATH"' >> ~/.zshrc For compilers to find [email protected] you may need to set: export LDFLAGS="-L/opt/homebrew/opt/[email protected]/lib" export CPPFLAGS="-I/opt/homebrew/opt/[email protected]/include" ==> apr-util apr-util is keg-only, which means it was not symlinked into /opt/homebrew, because Apple's CLT provides apr (but not apr-util). If you need to have apr-util first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/apr-util/bin:$PATH"' >> ~/.zshrc ==> httpd DocumentRoot is /opt/homebrew/var/www. The default ports have been set in /opt/homebrew/etc/httpd/httpd.conf to 8080 and in /opt/homebrew/etc/httpd/extra/httpd-ssl.conf to 8443 so that httpd can run without sudo. To have launchd start httpd now and restart at login: brew services start httpd Or, if you don't want/need a background service you can just run: apachectl start
sudo brew services start httpd
==> Tapping homebrew/services Cloning into '/opt/homebrew/Library/Taps/homebrew/homebrew-services'... remote: Enumerating objects: 20, done. remote: Counting objects: 100% (20/20), done. remote: Compressing objects: 100% (20/20), done. remote: Total 1141 (delta 8), reused 0 (delta 0), pack-reused 1121 Receiving objects: 100% (1141/1141), 331.40 KiB | 1.92 MiB/s, done. Resolving deltas: 100% (485/485), done. Tapped 1 command (42 files, 424.9KB). Warning: Taking root:admin ownership of some httpd paths: /opt/homebrew/Cellar/httpd/2.4.46_2/bin /opt/homebrew/Cellar/httpd/2.4.46_2/bin/httpd /opt/homebrew/opt/httpd /opt/homebrew/opt/httpd/bin /opt/homebrew/var/homebrew/linked/httpd This will require manual removal of these paths using `sudo rm` on brew upgrade/reinstall/uninstall. Warning: httpd must be run as non-root to start at user login! ==> Successfully started `httpd` (label: homebrew.mxcl.httpd)
These files (and others) are not in the location specified in the doc (/usr/local/var/log/httpd), they are in /opt/homebrew/var/log/httpd/
Stop, start or restart Apache now need to be done with brew
$ brew services stop httpd $ brew services start httpd $ brew services restart httpd
~ % brew install php
==> Downloading https://homebrew.bintray.com/bottles/argon2-20190702_1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/192f3381abe337df8af214cf4dccef2cbfaa9c88df489b5cf9276cea9f8c6080?response-content-disposition=attachment%3Bfilename%3D%22argon2-20190702_1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZS ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/aspell-0.60.8.arm64_big_sur.bottle.1.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/bdd761d4454523f1bc8c0adba2db1a23c215c01371e348cd162b573347791159?response-content-disposition=attachment%3Bfilename%3D%22aspell-0.60.8.arm64_big_sur.bottle.1.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/autoconf-2.69.arm64_big_sur.bottle.4.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/e56508f2b40d96057225de13bc9ac27f1c64f4c120a5c73f34864a1669073fc9?response-content-disposition=attachment%3Bfilename%3D%22autoconf-2.69.arm64_big_sur.bottle.4.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libmetalink-0.1.3.arm64_big_sur.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libssh2-1.9.0_1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/2840147f112db1ef9e353e104e8aff64fc6572a9194b3ded9cc006deaa46560c?response-content-disposition=attachment%3Bfilename%3D%22libssh2-1.9.0_1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/openldap-2.4.58.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/978f2896e8daf4c88521af38226decc28f066c4205d1298b8048bf0c034c6061?response-content-disposition=attachment%3Bfilename%3D%22openldap-2.4.58.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/rtmpdump-2.4%2B20151223_1.arm64_big_sur.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/zstd-1.4.9.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/beddf3a858da5063f7a407e5c78c0c83a2efd2595354acb750118da7d87f0974?response-content-disposition=attachment%3Bfilename%3D%22zstd-1.4.9.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0d ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/curl-7.75.0.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/feef288ebc2fb55c4c0803e233c600b5ded8e92863f0ad3a058c9c007933940b?response-content-disposition=attachment%3Bfilename%3D%22curl-7.75.0.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libtool-2.4.6_2.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c4f95f52617ef0d9a6ec19b5c581241be4593497cd120e42621f55b0ae9548b6?response-content-disposition=attachment%3Bfilename%3D%22libtool-2.4.6_2.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/unixodbc-2.3.9.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/112790241d32af0dedc7173711c714eae35ddac6f6aee9d5a7bc979063956990?response-content-disposition=attachment%3Bfilename%3D%22unixodbc-2.3.9.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6I ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/freetds-1.2.18.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/52a717a13ff3fb2541c2dd1ff55448f9201712acf875f740282b5ebf3c207128?response-content-disposition=attachment%3Bfilename%3D%22freetds-1.2.18.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6I ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libffi-3.3_3.arm64_big_sur.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/gdbm-1.19.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/2eea26ad3d3d013c3ed2e2b985d4749719e8be327bc53b615a1ffbe484264599?response-content-disposition=attachment%3Bfilename%3D%22gdbm-1.19.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dH ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/mpdecimal-2.5.1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/eebbc5c7e71710c848eb60b90f946aefdee1b5269c840c30b8098d6bb758500b?response-content-disposition=attachment%3Bfilename%3D%22mpdecimal-2.5.1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/readline-8.1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/940e7c2b80ef7f59b26726a5669a31fcb8ba7cbbb17eb1f2ca589dafa6e68e5e?response-content-disposition=attachment%3Bfilename%3D%22readline-8.1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/sqlite-3.34.1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/a44af603af9ebc26784983343b7659f4f767a4a270b34ceb5fd9527901d8f79a?response-content-disposition=attachment%3Bfilename%3D%22sqlite-3.34.1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Im ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/tcl-tk-8.6.11_1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/81f1041b639d8e6b8d7865226917c8b2f2cff604636a35fd65108ec61a618eed?response-content-disposition=attachment%3Bfilename%3D%22tcl-tk-8.6.11_1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/xz-5.2.5.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/c84206005787304416ed81094bd3a0cdd2ae8eb62649db5a3a44fa14b276d09f?response-content-disposition=attachment%3Bfilename%3D%22xz-5.2.5.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dHA ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/python%403.9-3.9.2_2.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/8175f77ac2ca3caaa2386abaea299994d95a09d50a54ae8e041151b1e9fd0ebb?response-content-disposition=attachment%3Bfilename%3D%22python%403.9-3.9.2_2.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJ ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/glib-2.68.0.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/d373812a588fa829a3f49d4a1eb69fa8e9181c9ef097275ad28db586bf23e308?response-content-disposition=attachment%3Bfilename%3D%22glib-2.68.0.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/gmp-6.2.1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/ff4ad8d068ba4c14d146abb454991b6c4f246796ec2538593dc5f04ca7593eec?response-content-disposition=attachment%3Bfilename%3D%22gmp-6.2.1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dH ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/icu4c-68.2.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/f1a3de6838d7b7676e74dbe97f30bbcb68e6e20d4f5c49380c4cd98b926cdf4b?response-content-disposition=attachment%3Bfilename%3D%22icu4c-68.2.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0d ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/krb5-1.19.1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/0a2528fac8efc2c289411944004f75c5bed52942bc5c2258636e47a1fab635f9?response-content-disposition=attachment%3Bfilename%3D%22krb5-1.19.1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libpq-13.2.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/be102bcef1030289e73fe3643c9fd575471df27f4b958e1155abb7a76f21107c?response-content-disposition=attachment%3Bfilename%3D%22libpq-13.2.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0d ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libsodium-1.0.18_1.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/ab7029c599665005a9c9ec9e72c74bf4d543fd7a995d9af9cfe9e6c10de79177?response-content-disposition=attachment%3Bfilename%3D%22libsodium-1.0.18_1.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZ ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/libzip-1.7.3.arm64_big_sur.bottle.tar.gz ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/oniguruma-6.9.6.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/dc2264a1fd09eb555ff2591d212af8e9cb5071ca529104dd17746af6306e79d0?response-content-disposition=attachment%3Bfilename%3D%22oniguruma-6.9.6.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6 ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/tidy-html5-5.6.0.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/3120baf4b5155c0ef5baa272f5a756909cb683c9c9447bdeaf7a07c388376370?response-content-disposition=attachment%3Bfilename%3D%22tidy-html5-5.6.0.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI ######################################################################## 100.0% ==> Downloading https://homebrew.bintray.com/bottles/php-8.0.3.arm64_big_sur.bottle.tar.gz ==> Downloading from https://d29vzk4ow07wi7.cloudfront.net/797d42b8a41ada3454fd840fc69f1df3cb77937962e348609070696c80da63ba?response-content-disposition=attachment%3Bfilename%3D%22php-8.0.3.arm64_big_sur.bottle.tar.gz%22&Policy=eyJTdGF0ZW1lbnQiOiBbeyJSZXNvdXJjZSI6Imh0dH ######################################################################## 100.0% ==> Installing dependencies for php: argon2, aspell, autoconf, libmetalink, libssh2, openldap, rtmpdump, zstd, curl, libtool, unixodbc, freetds, libffi, gdbm, mpdecimal, readline, sqlite, tcl-tk, xz, [email protected], glib, gmp, icu4c, krb5, libpq, libsodium, libzip, oniguruma and tidy-html5 ==> Installing php dependency: argon2 ==> Pouring argon2-20190702_1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/argon2/20190702_1: 12 files, 684.5KB ==> Installing php dependency: aspell ==> Pouring aspell-0.60.8.arm64_big_sur.bottle.1.tar.gz 🍺 /opt/homebrew/Cellar/aspell/0.60.8: 767 files, 322.9MB ==> Installing php dependency: autoconf ==> Pouring autoconf-2.69.arm64_big_sur.bottle.4.tar.gz 🍺 /opt/homebrew/Cellar/autoconf/2.69: 68 files, 3.0MB ==> Installing php dependency: libmetalink ==> Pouring libmetalink-0.1.3.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/libmetalink/0.1.3: 31 files, 227.4KB ==> Installing php dependency: libssh2 ==> Pouring libssh2-1.9.0_1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/libssh2/1.9.0_1: 184 files, 997.6KB ==> Installing php dependency: openldap ==> Pouring openldap-2.4.58.arm64_big_sur.bottle.tar.gz ==> Caveats openldap is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have openldap first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/openldap/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/openldap/sbin:$PATH"' >> ~/.zshrc For compilers to find openldap you may need to set: export LDFLAGS="-L/opt/homebrew/opt/openldap/lib" export CPPFLAGS="-I/opt/homebrew/opt/openldap/include" ==> Summary 🍺 /opt/homebrew/Cellar/openldap/2.4.58: 329 files, 7.5MB ==> Installing php dependency: rtmpdump ==> Pouring rtmpdump-2.4+20151223_1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/rtmpdump/2.4+20151223_1: 20 files, 710.6KB ==> Installing php dependency: zstd ==> Pouring zstd-1.4.9.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/zstd/1.4.9: 26 files, 3.1MB ==> Installing php dependency: curl ==> Pouring curl-7.75.0.arm64_big_sur.bottle.tar.gz ==> Caveats curl is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have curl first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> ~/.zshrc For compilers to find curl you may need to set: export LDFLAGS="-L/opt/homebrew/opt/curl/lib" export CPPFLAGS="-I/opt/homebrew/opt/curl/include" zsh completions have been installed to: /opt/homebrew/opt/curl/share/zsh/site-functions ==> Summary 🍺 /opt/homebrew/Cellar/curl/7.75.0: 480 files, 3.8MB ==> Installing php dependency: libtool ==> Pouring libtool-2.4.6_2.arm64_big_sur.bottle.tar.gz ==> Caveats In order to prevent conflicts with Apple's own libtool we have prepended a "g" so, you have instead: glibtool and glibtoolize. ==> Summary 🍺 /opt/homebrew/Cellar/libtool/2.4.6_2: 71 files, 3.7MB ==> Installing php dependency: unixodbc ==> Pouring unixodbc-2.3.9.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/unixodbc/2.3.9: 46 files, 2.3MB ==> Installing php dependency: freetds ==> Pouring freetds-1.2.18.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/freetds/1.2.18: 1,259 files, 14.2MB ==> Installing php dependency: libffi ==> Pouring libffi-3.3_3.arm64_big_sur.bottle.tar.gz ==> Caveats libffi is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. For compilers to find libffi you may need to set: export LDFLAGS="-L/opt/homebrew/opt/libffi/lib" export CPPFLAGS="-I/opt/homebrew/opt/libffi/include" ==> Summary 🍺 /opt/homebrew/Cellar/libffi/3.3_3: 17 files, 617.4KB ==> Installing php dependency: gdbm ==> Pouring gdbm-1.19.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/gdbm/1.19: 24 files, 880KB ==> Installing php dependency: mpdecimal ==> Pouring mpdecimal-2.5.1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/mpdecimal/2.5.1: 71 files, 2.2MB ==> Installing php dependency: readline ==> Pouring readline-8.1.arm64_big_sur.bottle.tar.gz ==> Caveats readline is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides BSD libedit. For compilers to find readline you may need to set: export LDFLAGS="-L/opt/homebrew/opt/readline/lib" export CPPFLAGS="-I/opt/homebrew/opt/readline/include" ==> Summary 🍺 /opt/homebrew/Cellar/readline/8.1: 48 files, 1.7MB ==> Installing php dependency: sqlite ==> Pouring sqlite-3.34.1.arm64_big_sur.bottle.tar.gz ==> Caveats sqlite is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have sqlite first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"' >> ~/.zshrc For compilers to find sqlite you may need to set: export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib" export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include" ==> Summary 🍺 /opt/homebrew/Cellar/sqlite/3.34.1: 11 files, 4.2MB ==> Installing php dependency: tcl-tk ==> Pouring tcl-tk-8.6.11_1.arm64_big_sur.bottle.tar.gz ==> Caveats tcl-tk is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have tcl-tk first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/tcl-tk/bin:$PATH"' >> ~/.zshrc For compilers to find tcl-tk you may need to set: export LDFLAGS="-L/opt/homebrew/opt/tcl-tk/lib" export CPPFLAGS="-I/opt/homebrew/opt/tcl-tk/include" ==> Summary 🍺 /opt/homebrew/Cellar/tcl-tk/8.6.11_1: 3,041 files, 51.9MB ==> Installing php dependency: xz ==> Pouring xz-5.2.5.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/xz/5.2.5: 95 files, 1.4MB ==> Installing php dependency: [email protected] ==> Pouring [email protected]_2.arm64_big_sur.bottle.tar.gz ==> /opt/homebrew/Cellar/[email protected]/3.9.2_2/bin/python3 -m ensurepip ==> /opt/homebrew/Cellar/[email protected]/3.9.2_2/bin/pip3 install -v --global-option=--no-user-cfg --install-option=--force --install-option=--single-version-externally-managed --install-option=--record=installed.txt --upgrade --target=/opt/homebrew/lib/python3.9/site-packag ==> /opt/homebrew/Cellar/[email protected]/3.9.2_2/bin/pip3 wheel --wheel-dir=/opt/homebrew/Cellar/[email protected]/3.9.2_2/Frameworks/Python.framework/Versions/3.9/lib/python3.9/ensurepip/_bundled /opt/homebrew/Cellar/[email protected]/3.9.2_2/libexec/setuptools /opt/homebrew/Cellar/pytho ==> Caveats Python has been installed as /opt/homebrew/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /opt/homebrew/opt/[email protected]/libexec/bin You can install Python packages with pip3 install <package> They will install into the site-package directory /opt/homebrew/lib/python3.9/site-packages See: https://docs.brew.sh/Homebrew-and-Python ==> Summary 🍺 /opt/homebrew/Cellar/[email protected]/3.9.2_2: 3,938 files, 66.6MB ==> Installing php dependency: glib ==> Pouring glib-2.68.0.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/glib/2.68.0: 442 files, 22.0MB ==> Installing php dependency: gmp ==> Pouring gmp-6.2.1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/gmp/6.2.1: 21 files, 3.3MB ==> Installing php dependency: icu4c ==> Pouring icu4c-68.2.arm64_big_sur.bottle.tar.gz ==> Caveats icu4c is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/icu4c/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/icu4c/sbin:$PATH"' >> ~/.zshrc For compilers to find icu4c you may need to set: export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib" export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include" ==> Summary 🍺 /opt/homebrew/Cellar/icu4c/68.2: 259 files, 73MB ==> Installing php dependency: krb5 ==> Pouring krb5-1.19.1.arm64_big_sur.bottle.tar.gz ==> Caveats krb5 is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have krb5 first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/krb5/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/krb5/sbin:$PATH"' >> ~/.zshrc For compilers to find krb5 you may need to set: export LDFLAGS="-L/opt/homebrew/opt/krb5/lib" export CPPFLAGS="-I/opt/homebrew/opt/krb5/include" ==> Summary 🍺 /opt/homebrew/Cellar/krb5/1.19.1: 162 files, 5.9MB ==> Installing php dependency: libpq ==> Pouring libpq-13.2.arm64_big_sur.bottle.tar.gz ==> Caveats libpq is keg-only, which means it was not symlinked into /opt/homebrew, because conflicts with postgres formula. If you need to have libpq first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc For compilers to find libpq you may need to set: export LDFLAGS="-L/opt/homebrew/opt/libpq/lib" export CPPFLAGS="-I/opt/homebrew/opt/libpq/include" ==> Summary 🍺 /opt/homebrew/Cellar/libpq/13.2: 2,270 files, 26.9MB ==> Installing php dependency: libsodium ==> Pouring libsodium-1.0.18_1.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/libsodium/1.0.18_1: 73 files, 780.7KB ==> Installing php dependency: libzip ==> Pouring libzip-1.7.3.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/libzip/1.7.3: 142 files, 778.6KB ==> Installing php dependency: oniguruma ==> Pouring oniguruma-6.9.6.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/oniguruma/6.9.6: 16 files, 1.4MB ==> Installing php dependency: tidy-html5 ==> Pouring tidy-html5-5.6.0.arm64_big_sur.bottle.tar.gz 🍺 /opt/homebrew/Cellar/tidy-html5/5.6.0: 14 files, 2.8MB ==> Installing php ==> Pouring php-8.0.3.arm64_big_sur.bottle.tar.gz ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set php_ini /opt/homebrew/etc/php/8.0/php.ini system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set php_dir /opt/homebrew/share/pear system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set doc_dir /opt/homebrew/share/pear/doc system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set ext_dir /opt/homebrew/lib/php/pecl/20200930 system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set bin_dir /opt/homebrew/opt/php/bin system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set data_dir /opt/homebrew/share/pear/data system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set cfg_dir /opt/homebrew/share/pear/cfg system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set www_dir /opt/homebrew/share/pear/htdocs system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set man_dir /opt/homebrew/share/man system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set test_dir /opt/homebrew/share/pear/test system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear config-set php_bin /opt/homebrew/opt/php/bin/php system ==> /opt/homebrew/Cellar/php/8.0.3/bin/pear update-channels ==> Caveats To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Finally, check DirectoryIndex includes index.php DirectoryIndex index.php index.html The php.ini and php-fpm.ini file can be found in: /opt/homebrew/etc/php/8.0/ To have launchd start php now and restart at login: brew services start php Or, if you don't want/need a background service you can just run: php-fpm ==> Summary 🍺 /opt/homebrew/Cellar/php/8.0.3: 499 files, 77.9MB ==> Caveats ==> openldap openldap is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have openldap first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/openldap/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/openldap/sbin:$PATH"' >> ~/.zshrc For compilers to find openldap you may need to set: export LDFLAGS="-L/opt/homebrew/opt/openldap/lib" export CPPFLAGS="-I/opt/homebrew/opt/openldap/include" ==> curl curl is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have curl first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/curl/bin:$PATH"' >> ~/.zshrc For compilers to find curl you may need to set: export LDFLAGS="-L/opt/homebrew/opt/curl/lib" export CPPFLAGS="-I/opt/homebrew/opt/curl/include" zsh completions have been installed to: /opt/homebrew/opt/curl/share/zsh/site-functions ==> libtool In order to prevent conflicts with Apple's own libtool we have prepended a "g" so, you have instead: glibtool and glibtoolize. ==> libffi libffi is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. For compilers to find libffi you may need to set: export LDFLAGS="-L/opt/homebrew/opt/libffi/lib" export CPPFLAGS="-I/opt/homebrew/opt/libffi/include" ==> readline readline is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides BSD libedit. For compilers to find readline you may need to set: export LDFLAGS="-L/opt/homebrew/opt/readline/lib" export CPPFLAGS="-I/opt/homebrew/opt/readline/include" ==> sqlite sqlite is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have sqlite first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/sqlite/bin:$PATH"' >> ~/.zshrc For compilers to find sqlite you may need to set: export LDFLAGS="-L/opt/homebrew/opt/sqlite/lib" export CPPFLAGS="-I/opt/homebrew/opt/sqlite/include" ==> tcl-tk tcl-tk is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have tcl-tk first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/tcl-tk/bin:$PATH"' >> ~/.zshrc For compilers to find tcl-tk you may need to set: export LDFLAGS="-L/opt/homebrew/opt/tcl-tk/lib" export CPPFLAGS="-I/opt/homebrew/opt/tcl-tk/include" ==> [email protected] Python has been installed as /opt/homebrew/bin/python3 Unversioned symlinks `python`, `python-config`, `pip` etc. pointing to `python3`, `python3-config`, `pip3` etc., respectively, have been installed into /opt/homebrew/opt/[email protected]/libexec/bin You can install Python packages with pip3 install <package> They will install into the site-package directory /opt/homebrew/lib/python3.9/site-packages See: https://docs.brew.sh/Homebrew-and-Python ==> icu4c icu4c is keg-only, which means it was not symlinked into /opt/homebrew, because macOS provides libicucore.dylib (but nothing else). If you need to have icu4c first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/icu4c/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/icu4c/sbin:$PATH"' >> ~/.zshrc For compilers to find icu4c you may need to set: export LDFLAGS="-L/opt/homebrew/opt/icu4c/lib" export CPPFLAGS="-I/opt/homebrew/opt/icu4c/include" ==> krb5 krb5 is keg-only, which means it was not symlinked into /opt/homebrew, because macOS already provides this software and installing another version in parallel can cause all kinds of trouble. If you need to have krb5 first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/krb5/bin:$PATH"' >> ~/.zshrc echo 'export PATH="/opt/homebrew/opt/krb5/sbin:$PATH"' >> ~/.zshrc For compilers to find krb5 you may need to set: export LDFLAGS="-L/opt/homebrew/opt/krb5/lib" export CPPFLAGS="-I/opt/homebrew/opt/krb5/include" ==> libpq libpq is keg-only, which means it was not symlinked into /opt/homebrew, because conflicts with postgres formula. If you need to have libpq first in your PATH, run: echo 'export PATH="/opt/homebrew/opt/libpq/bin:$PATH"' >> ~/.zshrc For compilers to find libpq you may need to set: export LDFLAGS="-L/opt/homebrew/opt/libpq/lib" export CPPFLAGS="-I/opt/homebrew/opt/libpq/include" ==> php To enable PHP in Apache add the following to httpd.conf and restart Apache: LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.so <FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch> Finally, check DirectoryIndex includes index.php DirectoryIndex index.php index.html The php.ini and php-fpm.ini file can be found in: /opt/homebrew/etc/php/8.0/ To have launchd start php now and restart at login: brew services start php Or, if you don't want/need a background service you can just run: php-fpm
This file and others no longer seem to be in the documented location (/usr/local/etc/httpd/httpd.conf), this one is now in /opt/homebrew/etc/httpd/httpd.conf
Startup in single user mode and fsck Briefly:
osascript -e "set Volume 5"
Forgot the password? Locked out of your Mac?
mount –uw / launchctl load /System/Library/LaunchDaemons/com.apple.opendirectoryd.plist passwd <username> reboot
Look at the advanced properties of the printer in System Preferences for the queue name (it will be the same as the printer name with all spaces and dashes replaced by underscores).
lp -d <queuename> <file>
/System/Library/Frameworks/CoreServices.framework/Frameworks/LaunchServices.framework/Support/lsregister -kill -r -domain local -domain system -domain user
From Mountain Lion onwards Sharing control panel no longer contains “Web sharing” to turn on web servers so command line comes to the rescue…
mkdir ${HOME}/Sites 2>/dev/null
sudo cat <<EOCAT >> /etc/apache2/users/$(whoami).conf
<Directory "/Users/$(whoami)/Sites/">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
EOCAT
sudo apachectl start
To have the Apache server start at each boot, follow above with this…
sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool false
networksetup -listallhardwareports
Hardware Port: Wi-Fi Device: en0 Ethernet Address: 78:4f:43:51:7d:73 Hardware Port: Bluetooth PAN Device: en6 Ethernet Address: 78:4f:43:52:2c:f7 Hardware Port: Thunderbolt 1 Device: en3 Ethernet Address: 26:00:31:08:d4:01 Hardware Port: Thunderbolt 2 Device: en1 Ethernet Address: 26:00:31:08:d4:00 Hardware Port: Thunderbolt 3 Device: en4 Ethernet Address: 26:00:31:08:d4:05 Hardware Port: Thunderbolt 4 Device: en2 Ethernet Address: 26:00:31:08:d4:04 Hardware Port: Thunderbolt Bridge Device: bridge0 Ethernet Address: 26:00:31:08:d4:00 VLAN Configurations ===================
DHCP server is the line marked as <tt>server_identifier</tt>
ipconfig getpacket en0
op = BOOTREPLY
htype = 1
flags = 0
hlen = 6
hops = 0
xid = 0xad759efe
secs = 3
ciaddr = 0.0.0.0
yiaddr = 192.168.1.159
siaddr = 192.168.1.13
giaddr = 0.0.0.0
chaddr = 78:4f:43:51:7d:73
sname ======
file ======
options:
Options count is 11
dhcp_message_type (uint8): ACK 0x5
server_identifier (ip): 192.168.1.13
lease_time (uint32): 0x15180
renewal_t1_time_value (uint32): 0xa8c0
rebinding_t2_time_value (uint32): 0x12750
subnet_mask (ip): 255.255.255.0
broadcast_address (ip): 192.168.1.255
domain_name_server (ip_mult): {192.168.1.13}
domain_name (string): local
router (ip_mult): {192.168.1.1}
end (none):
sudo ipconfig set <interface> DHCP
diskutil list
This way worked for me…
sudo /Applications/Install\\ OS\\ X\\ Mavericks.app/Contents/Resources/createinstallmedia --volume /Volumes/Untitled --applicationpath /Applications/Install\\ OS\\ X\\ Mavericks.app --nointeraction
If the mount point was /Volumes/Untitled then this command will work. If it was anything else, you will get an error. Change the name of the “–volume” attribute to what you saw as the mount point.
If all goes well, be prepared to make a cup of tea and take your time drinking it…
Password: Erasing Disk: 0%... 10%... 20%... 30%...100%... Copying installer files to disk... Copy complete. Making disk bootable... Copying boot files... Copy complete. Done.
or
sudo pmset -g
sudo pmset -a sms 0
defaults write com.apple.Finder AppleShowAllFiles TRUE;\\killall Finder;\\say Files Revealed
and on Mavericks
defaults write com.apple.finder AppleShowAllFiles -boolean true; killall Finder
sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool false