Created
March 29, 2014 21:53
-
-
Save buonzz/9863646 to your computer and use it in GitHub Desktop.
usual commands in vagrant box
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# to login to local mysql as root | |
mysql -hlocalhost -uroot -pd3v0p5 | |
# verify php version | |
php -v | |
# find the php.ini for cli | |
php -i | grep php\.ini | |
# edit which document root folder to use side from webroot (important for Laravel users) | |
sudo nano /etc/apache2/sites-available/vagrant_webroot | |
# edit apache config | |
sudo nano /etc/apache2/apache2.conf | |
# restart apache | |
sudo service apache2 restart | |
# restart mysql | |
sudo /etc/init.d/mysql restart | |
# view error log | |
tail /var/log/apache2/error.log |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment