
If you need to have first in your PATH, run:įor compilers to find you may need to set:īrew services restart if you don't want/need a background service you can just -datadir=/opt/homebrew/var/mysql Mysql is keg-only, which means it was not symlinked into /opt/homebrew,īecause this is an alternate version of another formula. MySQL is configured to only allow connections from localhost by default LoadModule rewrite_module lib/httpd/modules/mod_rewrite.so LoadModule proxy_fcgi_module lib/httpd/modules/mod_proxy_fcgi.so

LoadModule proxy_module lib/httpd/modules/mod_proxy.so Listen 8080 # Port 80 common used by apps like Skype or Teams, change to other port such as 8080 for convenience.
INSTALL PHPMYADMIN MAC UPDATE
Update Apache config vi /opt/homebrew/etc/httpd/nf opt/homebrew/opt/httpd/bin/httpd -D FOREGROUNDĬreate nf vi /opt/homebrew/etc/httpd/extra/nfĭirectoryIndex index.php index.html # Add index.php opt/homebrew/etc/httpd/extra/nf to 8443 so that httpd can run without sudo. The default ports have been set in /opt/homebrew/etc/httpd/nf to 8080 and in opt/homebrew/etc/php/8.1/conf.d/memory-limit.ini ini files parsed: /opt/homebrew/etc/php/8.1/conf.d/ext-opcache.ini, ini files in: /opt/homebrew/etc/php/8.1/conf.dĪdditional. Loaded Configuration File: /opt/homebrew/etc/php/8.1/php.ini ini files in conf.d will be scanned and loadedĮcho "memory_limit = 512M" > /opt/homebrew/etc/php/8.1/conf.d/memory-limit.iniĬonfiguration File (php.ini) Path: /opt/homebrew/etc/php/8.1 ini file to /opt/homebrew/etc/php/8.1/conf.d ini file, /opt/homebrew/etc/php/8.1/php.ini ini files => /opt/homebrew/etc/php/8.1/conf.d With Zend OPcache v8.1.2, Copyright (c), by Zend Technologies Zend Engine v4.1.2, Copyright (c) Zend Technologies opt/homebrew/opt/php/sbin/php-fpm -nodaemonize Or, if you don't want/need a background service you can just run: The php.ini and php-fpm.ini file can be found in:

LoadModule php_module /opt/homebrew/opt/php/lib/httpd/modules/libphp.soįinally, check DirectoryIndex includes index.php To enable PHP in Apache add the following to nf and restart Apache:

INSTALL PHPMYADMIN MAC INSTALL
Install Homebrew /bin/bash -c "$(curl -fsSL )" Path may vary for different or even same machine. !!! This guide was created with Macbook Pro M1.
