HOWTO.mamp - raynaldmo/HOWTO GitHub Wiki
MAMP/MAMP PRO Configuration
Virtual host set up
http://foundationphp.com/tutorials/vhosts_mamp.php
Sample .bash_profile
# sample .bash_profile
export PATH=".:~/bin:~/.composer/vendor/bin:/Applications/MAMP/bin/php/php7.0.0/bin:/Applications/MAMP/Library/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
MAMP/MAMP PRO Welcome page & phpinfo
http://localhost/MAMP
http://localhost:8888/MAMP/?language=English
phpMyAdmin
http://localhost/phpMyAdmin
http://localhost:8888/phpMyAdmin
MAMP logs
/Applications/MAMP/logs
Xdebug in MAMP
- php.ini file is in two places:
- /Applications/MAMP/conf/php7.0.0/php.ini
- /Applications/MAMP/bin/php/php7.0.0/conf/php.ini
- It appears xdebug extension should be enabled in both files
- Sample php.ini
...
[xdebug]
zend_extension="/Applications/MAMP/bin/php/php7.0.20/lib/php/extensions/no-debug-non-zts-20151012/xdebug.so"
xdebug.remote_enable=1
xdebug.remote_host=127.0.0.1
xdebug.remote_connect_back=1
xdebug.remote_port=9000
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_autostart=true