Tag: MySQL

Build PHP Development Environment on Mac OSX

完整的步骤——Steps:: 如果顺利完成,肯定最好,但大我数情况下,都会出些状况: http://minuo.me sudo apachectl start sudo nano /etc/apache2/httpd.conf remove # before #LoadModule php7… sudo apachectl restart sudo nano /etc/apache2/httpd.conf Add index.php in DirectoryIndex line sudo apachectl restart sudo nano /Library/WebServer/Documents/index.php download and install Mysql: https://dev.mysql.com/downloads/ SAVE YOUR PASSWORD! sudo mkdir /var/mysql sudo ln -s /tmp/mysql.sock /var/mysql/mysql.sock Start mysql Server cd /usr/local/mysql/bin sudo ./mysql -u […]