- Liip
- In ~/.bash_profile define wich php the system will use :
PATH=/usr/local/php5/bin:$PATH
Create vhosts
In /etc/apache2/extra/httpd-vhosts.conf
use this structure:
<VirtualHost *:80>
DocumentRoot "/Users/remygazelot/Sites"
ServerName localhost
<Directory "/Users/remygazelot/Sites">
AllowOverride All
Require all granted
</Directory>
</VirtualHost>
Add the new virtual host in /etc/hosts
:
127.0.0.1 localhost
Enable the vhosts in /etc/apache2/httpd.conf
:
User remygazelot
Group staff
- Uncomment
Include /etc/apache2/extra/httpd-vhosts.conf
- Uncomment
LoadModule userdir_module libexec/apache2/mod_userdir.so
in/etc/apache2/httpd.conf
- Uncomment
Include /private/etc/apache2/extra/httpd-userdir.conf
in/etc/apache2/httpd.conf
configuration
- Create a file in
/etc/apache2/users/remygazelot.conf
- Enter this structure:
<Directory "/Users/remygazelot/Sites/">
Options Indexes MultiViews FollowSymLinks
AllowOverride All
Order allow,deny
Allow from all
</Directory>
- Uncomment
Include /private/etc/apache2/users/*.conf
in/etc/apache2/extra/httpd-userdir.conf
Restart apache sudo apachectl restart
- Install Homebrew
- Install MySQL
brew install mysql
- Check
brew info mysql
- Install LaunchAgents:
ln -sfv /usr/local/opt/mysql/*.plist ~/Library/LaunchAgents
launchctl load ~/Library/LaunchAgents/homebrew.mxcl.mysql.plist
For Balloon5: ALTER USER 'root'@'localhost' IDENTIFIED WITH caching_sha2_password BY 'root';
ln -sfv /usr/local/opt/rabbitmq/*.plist ~/Library/LaunchAgents
sudo launchctl load ~/Library/LaunchAgents/homebrew.mxcl.rabbitmq.plist
https://getcomposer.org/doc/00-intro.md#globally
local : http://redis.io/download global (recommended) :
brew install redis
http://naleid.com/blog/2011/03/05/running-redis-as-a-user-daemon-on-osx-with-launchd
sudo npm install -g grunt-cli
Si 403 Forbidden sur ngrok essayer : https://ngrok.com/docs#virtual-hosts
liip/php-osx#175
https://docwhat.org/el-capitan-and-the-evils-of-openssl/