MariaDB Fix
Submitted by
Dmitro
on
launchctl unload /Users/dmitry/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
brew services restart mariadb
sudo nano /opt/homebrew/etc/my.cnf
launchctl unload /Users/dmitry/Library/LaunchAgents/homebrew.mxcl.mariadb.plist
brew services restart mariadb
sudo nano /opt/homebrew/etc/my.cnf
arch -arm64 sudo pecl install xdebug
last working with php 7.4 is 3.1.6
arch -arm64 sudo pecl install xdebug-3.1.6
[Xdebug]
;xdebug.start_with_request=default
;xdebug.idekey=PHPSTORM
xdebug.client_port=9090
xdebug.mode=debug
zend_extension="xdebug.so"
Setup Dev Environment on Mac OS
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
export PATH="/opt/homebrew/bin:$PATH"
brew install wget composer node gnu-tar gpatch git
Install drush on mac:
Solution for Apple M1 - using homebrew:
> Settings -> Git -> Use System Git -> "/opt/homebrew/bin/git" (NOT "/usr/*/git")
This magically added "/opt/homebrew/bin" to SourceTree's $PATH and all git hooks started working again.
For macOS:
To get additional debug logging for troubleshooting launcher issues, set the environment variable before starting the IDE:
export IDEA_LAUNCHER_DEBUG=true
cd /Applications
./PhpStorm.app/Contents/MacOS/phpstorm