- 配置apache虚拟主机信息, 往 /etc/apache2/extra/httpd-vhosts.conf 写入项目目录配置 <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/Users/mvj3/eoemobile/code/eoe" ServerName edu.eoe.lo ErrorLog "/private/var/log/apache2/dummy-host2.example.com-error_log" CustomLog "/private/var/log/apache2/dummy-host2.example.com-access_log" common
ThinkPHP Can't connect to local MySQL server through socket '/tmp/mysql5.sock:3306' http://ggmmchou.blog.163.com/blog/static/59333149201112192652560/ // 如果使用 localhost:/tmp/mysql5.sock 就指定DB_PORT='' 'DB_HOST'=>'localhost:/tmp/mysql5.sock'