oovova.blogg.se

Mamp stack
Mamp stack







mamp stack

sh script, everything looks fine (no errors) but no listeners appear through sudo lsof -i -n -P | grep through native Webserver is outstanding and a good amount faster than my 16" i9 pageload. With sudo apachectl configtest I was able to debug my vhosts, which tells me the syntax is tips on that? When I use the. I have to do it with sudo apachectl start to get the listeners showing. The only thing that doesn't work is the stop / start scripts. I also enabled ssl / 443 listeners.įor mysql to work with root / root I had to do this:ĪLTER USER IDENTIFIED WITH mysql_native_password BY 'root' I did manage to get it working! I first had to wipe all my previous installations and also uninstall brew that all came with migrating from my previous system. You are responsible for resolvingĪny issues you experience while you are running this Please create pull requests instead of asking for help on Homebrew's GitHub, You will encounter build failures with some formulae. Reinstall Homebrew under Rosetta 2 until we support it. We do not provide support for this (yet). TypeError: expected string or bytes-like objectĭo not report this issue to Homebrew/brew or Homebrew/core!Įrror: You are running macOS on a arm64 CPU architecture.

mamp stack

If mac_target and (pkg_resources.parse_version(mac_target) <įile "/opt/homebrew/lib/python3.9/site-packages/pkg_resources/_init_.py", line 113, in parse_versionįile "/opt/homebrew/lib/python3.9/site-packages/pkg_resources/_vendor/packaging/version.py", line 275, in _init_ install-scripts=/opt/homebrew/Cellar/protobuf/3.14.0/libexec/bin prefix=/opt/homebrew/Cellar/protobuf/3.14.0/libexec Last 15 lines from /Users/USERNAME/Library/Logs/Homebrew/protobuf/06.python3:

#Mamp stack install#

no-user-cfg install -prefix=/opt/homebrew/Cellar/protobuf/3.14.0/libexec -install-scripts=/opt configure -prefix=/opt/homebrew/Cellar/protobuf/3.14.0 -with-zlib Results in: => Installing mysql dependency: protobuf If you have see a message saying something like Address already in use: AH00072: make_sock: could not bind to address, try changing the Listen config in nf to: Listen 0.0.0.0:8080Ĭheck if your config is valid: apachectl configtest Uncomment: # LoadModule rewrite_module lib/httpd/modules/mod_rewrite.soĬhange the DocumentRoot: DocumentRoot "/Users//MAMP/commonĪdd to your hosts file echo '127.0.0.1 ' | sudo tee -a /etc/hostsĬheck the output of the following commands: sudo apachectl start Oke, lets configure apache/httpd for usage with php and enable mod_rewrite along the way: nano ~/MAMP/httpd/nf Make 'em writable: chmod +x ~/MAMP/start.sh Now, let's add some scripts to this directory nano ~/MAMP/start.shīrew services start services start httpdīrew services restart services restart httpd Ln -s /opt/homebrew/etc/php/7.4 ~/MAMP/php Ln -s /opt/homebrew/etc/httpd ~/MAMP/httpd Make life a bit easier by symlinking the config directories to a rememberable path: mkdir ~/MAMP

mamp stack

When everything is done it will list some next steps like adding the php module to apache. This might take some time (30mins) or so. Update: Building is probably not necessary anymore, you can omit the -s flag. Note: checkout this comment if you have problems building python. Now add the homebrew/bin directory to your path by editing/creating a. If not installed already, the system will ask to install the command-line tools for developers for you. We can then initiate homebrew by cd to that directory and run brew in the bin folder. This way homebrew will be installed to the /opt/homebrew folder. Mkdir homebrew & curl -L | tar xz -strip 1 -C homebrew The native php is ofcourse way faster, see the results of this benchmark below. After that we'll configure apache2 for using virtual hosts. In this tutorial, we'll build the the nescessary packages for ARM via homebrew. Nowadays brew installes m1 binaries just fine. Building the MAMP stack (php, apache & mysql) on Apple Silicon ARM (native) Update! This tutorial is outdated.









Mamp stack