I received the following error when installing Homebrew on to a fresh install of Big Sur on an M1 MacBook Pro
Homebrew is not (yet) supported on ARM processors!
Rerun the Homebrew installer under Rosetta 2.
If you really know what you are doing and are prepared for a very broken experience you can use another installation option for installing on ARM:
https://docs.brew.sh/Installation
If you are getting an out of memory error when running composer update and you have already updated memory_limit = -1 in the loaded php.ini configuration, run php --ini to see if there are any other parsed .ini files that may override the -1
To Quickly install Composer in the current directory, and set a specific version, run the following script in your terminal
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('sha384', 'composer-setup.php') === 'c31c1e292ad7be5f49291169c0ac8f683499edddcfd4e42232982d0fd193004208a58ff6f353fde0012d35fdd72bc394') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
php composer-setup.php --version=1.10.17
php -r "unlink('composer-setup.php');"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # | |
| # Prerequisite installations for using this zsh configuration | |
| # | |
| # Following utilities must be installed on the system for this configuration to work | |
| # | |
| # fd https://github.com/sharkdp/fd | |
| # fasd https://github.com/clvv/fasd/wiki/Installing-via-Package-Managers#mac-os-x | |
| # fzf https://github.com/junegunn/fzf | |
| # ripgrep https://github.com/BurntSushi/ripgrep |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #301 Redirects for .htaccess | |
| #Redirect a single page: | |
| Redirect 301 /pagename.php http://www.domain.com/pagename.html | |
| #Redirect an entire site: | |
| Redirect 301 / http://www.domain.com/ | |
| #Redirect an entire site to a sub folder | |
| Redirect 301 / http://www.domain.com/subfolder/ |