Answer the question
In order to leave comments, you need to log in
Prompt in setting up MAMP PRO
Hello cheaters.
I have a question about setting up MAMP PRO.
Is it possible to set it up so that it automatically assumes folders are virtual hosts inside the user's folder?
The task is to make the contents of the ~/Users/username/Sites/ folder automatically taken as a virtual host, similar to how it is implemented in Denwer on Windows.
Or tell me an alternative way to run the contents of this folder in Apache.
Answer the question
In order to leave comments, you need to log in
You don't have to do that.
Install brew and php:
ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
brew up && brew upgrade
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew up && brew upgrade
brew install php54
sudo vim /etc/apache2/httpd.conf
sudo apachectl -k restart
brew install virtualhost.sh
virtualhost.sh myhost.loc
virtualhost.sh --delete myhost.loc # удаление
virtualhost.sh --list # просмотр доступных
alias vhost="sudo virtualhost.sh "
alias mod777="sudo chmod -R 777 "
nfo <name>
, so you won’t get lost . The repository contains a lot of good apc, xdebug and other popular extensions. All this works for php53, but I don’t see any reason to limit myself to it
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question