VirtualHosts (be sure to copy and paste the lines containing USERHOME through the last EOF as a single command): touch ~/Sites/nf If you want to later switch from php53 to php54, you would need to run brew unlink php53 & brew link php54 for brew to symlink the appropriate files in /usr/local/bin. If you want PHP 5.4, change all instances of php53 to php54, and 5.3 to 5.4. NOTE: These instructions are for PHP 5.3. $(brew -prefix mariadb )/bin/mysql_secure_installation PHP & launchctl load -w ~/Library/LaunchAgents/ & cp -v $(brew -prefix mariadb )/ ~/Library/LaunchAgents/ ![]() Sed -i " " 's/max_allowed_packet = 1.*M/max_allowed_packet = 2G/g ' $(brew -prefix mariadb )/my.cnfĮgrep "^# Uncomment the following if you are using InnoDB tables$ " $(brew -prefix mariadb )/my.cnf & >/dev/null & sed -i ' ' "s/^\(# Uncomment the following if you are using InnoDB s/^#\(innodb_.*\)/\1/g " $(brew -prefix mariadb )/my.cnf Mysql_install_db -verbose -user= `whoami ` -basedir= " $(brew -prefix mariadb ) " -datadir= $(brew -prefix )/var/mysql -tmpdir=/tmpĬp -v $(brew -prefix mariadb )/support-files/my-small.cnf $(brew -prefix mariadb )/my.cnf
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |