05 2016 档案
mac navicate 2013 - Lost connection to MySQL server at 'reading initial communication packet
摘要:mac 本地mysql用navicate打开表时遇到如下错误: 2013 - Lost connection to MySQL server at 'reading initial communication packet 直接重启mysql就ok了, ps -ef|grep mysql sudo
阅读全文
mac Nginx+CI出现404错误
摘要:主要是ci框架需要配置rewrite nginx.conf配置文件添加: location /wechat/ { if (!-e $request_filename) { rewrite ^/wechat/(.*)$ /wechat/index.php?q=$uri&$args; } } 注:wec
阅读全文
mac nginx+php-fpm配置(安装过后nginx后访问php文件下载,访问php文件请求200显示空白页面)
摘要:访问php文件下载是因为没配置php-fpm 两个问题主要都是nginx.conf配置的问题: /usr/local/etc/nginx/nginx.conf server { listen 80; server_name localhost; root /usr/local/var/www; #c
阅读全文
浙公网安备 33010602011771号